API class

Inheritance

Constructors

API()

Properties

baseUrl String?
getter/setter pairinherited
body Map<String, dynamic>?
getter/setter pairinherited
file List<FileData>?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
getter/setter pairinherited
onAuthError Future<void> Function(Response error, BuildContext context)?
getter/setter pairinherited
onError Future<void> Function(Response error)?
getter/setter pairinherited
onException Future<void> Function(Object exception)?
getter/setter pairinherited
onProgress Future<void> Function(int start, int total)?
getter/setter pairinherited
onSuccess Future<void> Function(Response success)?
getter/setter pairinherited
onTimeout Future<void> Function(Object exception)?
getter/setter pairinherited
processOnlyThisPage bool?
getter/setter pairinherited
replacementId String?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String?
getter/setter pairinherited
withLoading bool?
getter/setter pairinherited

Methods

delete() Future<Response?>
get({String? authToken}) Future<Response?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch({bool dynamicJson = false}) Future<Response?>
post({bool dynamicJson = false}) Future<Response?>
put() Future<Response?>
readConfig() ENVData
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

state API
final