RestApi class abstract

Implementers

Constructors

RestApi({BuildContext? context, bool? singleContext})

Properties

context BuildContext?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ifResponseError bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
singleContext bool?
getter/setter pair

Methods

bodyCheck(RequestData? data, CustomRequestData? customRequest, RequestApiHelperConfigData config, RESTAPI type) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process({RequestData? data, CustomRequestData? customData, Map<String, String>? header, RequestApiHelperConfigData? config, String? name, required RESTAPI type, OnUploadProgressCallback? onUploadProgress}) → dynamic
requestApi(RequestData? data, CustomRequestData? customData, dynamic header, RequestApiHelperConfigData config, dynamic name, RESTAPI type, OnUploadProgressCallback? onUploadProgress) → dynamic
resetVariable() → dynamic
responseApi(RequestApiHelperConfigData config, RESTAPI type, OnUploadProgressCallback? onUploadProgressCallback) → dynamic
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

trustSelfSigned bool
getter/setter pair

Static Methods

getHttpClient({Duration? duration}) HttpClient
readResponseAsString(HttpClientResponse response) Future<String>