ApiManager class

Constructors

ApiManager.new()
factory

Properties

apiService ApiService
getter/setter pair
baseUrl String
no getter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getRequestApi({required String endPoint, Map<String, String>? headers, Map<String, dynamic>? queryParameters}) Future<ApiResponse>
multipartRequestApi({required String endPoint, Map<String, String>? headers, Map<String, String>? fields, List<MultipartFile>? files}) Future<ApiResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postRequestApi({required String endPoint, Map<String, String>? headers, Object? body}) Future<ApiResponse>
toString() String
A string representation of this object.
inherited

Operators

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

Constants

defaultHeaders → const Map<String, String>