ApiService class

Constructors

ApiService({required ApiClient client})

Properties

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

Methods

delete<T>({required String url, Map<String, dynamic>? params, Map<String, String>? headers}) → Future<ApiResponse<T>>
get<T>({required String url, Map<String, dynamic>? params, Map<String, String>? headers}) → Future<ApiResponse<T>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post<T>({required String url, dynamic body, Map<String, dynamic>? params, Map<String, String>? headers}) → Future<ApiResponse<T>>
put<T>({required String url, dynamic body, Map<String, dynamic>? params, Map<String, String>? headers}) → Future<ApiResponse<T>>
toString() → String
A string representation of this object.
inherited

Operators

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