NetworkService class

Constructors

NetworkService.new(NetworkConfig _networkConfig)

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

get(String path, {String? baseUrl, Map<String, dynamic>? queryParameters, Options? options, CancelToken? cancelToken, ApiCallback? apiCallback, String? dataKey = 'data', String? errorKey = 'error'}) Future<Map<String, dynamic>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post<T>(String path, {String? baseUrl, dynamic data, Map<String, dynamic>? queryParameters, Options? options, CancelToken? cancelToken, ApiCallback? apiCallback}) Future<Map<String, dynamic>>
toString() String
A string representation of this object.
inherited

Operators

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