ApiService class
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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
delete(String path, {Object? payload = const {}, Map<String, dynamic>? qparams, Uri? useUri, String? serviceID})
→ Future
-
-
get(String path, {Map<String, dynamic> qparams = const {}, Uri? useUri, String? serviceID})
→ Future
-
-
getWithUri(Uri useUri, {Map<String, dynamic> qparams = const {}, String? serviceID})
→ Future
-
-
parseUri(String authority, String path, {Map<String, dynamic>? queryparams})
→ Uri
-
-
post(String path, {Object? payload = const {}, Map<String, dynamic>? qparams, Uri? useUri, String? serviceID})
→ Future
-
-
postWithUri(Uri useUri, {Map<String, dynamic> payload = const {}, Map<String, dynamic> qparams = const {}, String? serviceID})
→ Future
-
-
put(String path, {Object? payload = const {}, Map<String, String> qparams = const {}, Uri? useUri, String? serviceID})
→ Future
-
-
setDefaultServiceID(String id)
→ void
-
-
uri(String path, {Map<String, dynamic>? queryparams, String? serviceID})
→ Uri
-