BuilderProtocol<T1, T2> class
abstract
BuilderProtocol is the Marker class to define protocols
Used to generate different request builders
T1 is the type of Request builder to be passed and T2 should be the respective request type
eg for user list T1
will be UsersRequestBuilder and T2
will be UsersRequest
Constructors
- BuilderProtocol(T1 requestBuilder)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- requestBuilder → T1
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getRequest(
) → T2 - called for simple request
-
getSearchRequest(
String val) → T2 - called when implementing search
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited