IApiMethod class

Implemented types

Constructors

IApiMethod({String? baseUrl})

Properties

baseUrl String?
getter/setter pair
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({required String url, String? authToken, Map<String, String>? query, Map<String, dynamic>? responseStatusValue}) Future<ResponseData<Map<String, dynamic>>>
override
get({required String url, String? authToken, Map<String, String>? query, Map<String, String>? headers, Map<String, dynamic>? body, Map<String, dynamic>? responseStatusValue}) Future<ResponseData<Map<String, dynamic>>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch({required String url, String? authToken, Map<String, dynamic>? body, Map<String, String>? query, Map<String, String>? multipartFile, Map<String, dynamic>? responseStatusValue, required Map<String, String> headers}) Future<ResponseData<Map<String, dynamic>>>
override
post({required String url, String? authToken, Map<String, dynamic>? body, Map<String, String>? query, Map<String, String>? multipartFile, Map<String, dynamic>? responseStatusValue, required Map<String, String> headers}) Future<ResponseData<Map<String, dynamic>>>
override
put({required String url, String? authToken, Map<String, dynamic>? body, Map<String, String>? query, Map<String, String>? multipartFile, Map<String, dynamic>? responseStatusValue, required Map<String, String> headers}) Future<ResponseData<Map<String, dynamic>>>
override
toString() String
A string representation of this object.
inherited

Operators

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