JsonResponseBlocCallbackHandler<M extends JsonResponseModel> class
- Implemented types
Constructors
-
JsonResponseBlocCallbackHandler.new({required SuccessCallback<
M> success, required ErrorCallback error})
Properties
- error → ErrorCallback
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
success
→ SuccessCallback<
M> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onError(
RestResponseType responseType, String response) → void -
override
-
onInvalidRequest(
Map< String, dynamic> ? requestJson) → void -
override
-
onInvalidResponse(
String response) → void -
override
-
onMissingPathData(
Map< String, dynamic> requestJson) → void -
override
-
onNoConnectivity(
) → void -
override
-
onSuccess(
M model) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited