BadRequester<Context, Resp extends FromResponse> class

Constructors

BadRequester.new({required String baseUrl, Map<String, dynamic> headerBuilder(Context?)?, Object? bodyBuilder(dynamic data, Context? context)?, required Resp responseHandler(Response response, Context? context)})

Properties

baseUrl String
final
bodyBuilder Object? Function(dynamic data, Context? context)?
final
hashCode int
The hash code for this object.
no setterinherited
headerBuilder Map<String, dynamic> Function(Context?)?
final
responseHandler → Resp Function(Response response, Context? context)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request(String method, String path, {bool cancelable = false, Map<String, dynamic>? queryParameters, dynamic data, Context? context}) FromRequest<Resp>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited