IApiService class abstract

Implementers

Constructors

IApiService()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

httpDeleteDynamic(String url, {Map<String, String>? header, Map<String, dynamic>? body}) Future<ProcessResult>
httpDeleteDynamicEx(String url, {Map<String, String>? header}) Future<ProcessResult>
httpGet(String url, {Map<String, String>? header}) Future<ProcessResult<Map>>
httpGetDynamic(String url, {Map<String, String>? header}) Future<ProcessResult>
httpGetString(String url, {Map<String, String>? header}) Future<ProcessResult<String>>
httpPatch(String url, Map data, {Map<String, String>? header}) Future<ProcessResult>
httpPatchEx(String url, dynamic data, {Map<String, String>? header}) Future<ProcessResult>
httpPost(String url, dynamic data, [Map<String, String>? header, bool asString = false]) Future<ProcessResult>
httpPostEx(String url, dynamic data, [Map<String, String>? header, bool addToken = true]) Future<ProcessResult>
httpPostFile(String url, Uint8List fileData, String name, [Map<String, String>? requestFields, Map<String, String>? header, bool isImage = true]) Future<ProcessResult<String>>
httpPut(String url, Map data, {Map<String, String>? header}) Future<ProcessResult>
httpPutEx(String url, dynamic data, {Map<String, String>? header}) Future<ProcessResult>
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

Static Properties

unauthrizedCallback ↔ (dynamic Function(dynamic response)?)
getter/setter pair