MethodChannelDohApiClient class

An implementation of DohApiClientPlatform that uses method channels with async interceptors.

Inheritance
Mixed-in types

Properties

hashCode int
The hash code for this object.
no setterinherited
interceptors List<BaseDohInterceptor>
final
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addInterceptor(BaseDohInterceptor interceptor) → void
Add an interceptor
override
clearInterceptors() → void
Clear all interceptors
override
convertList(List list) List
inherited
convertMap(Map<Object?, Object?> map) Map<String, dynamic>
inherited
delete(String url, Map<String, dynamic> headers, DohProvider dohProvider) Future<DohResponse>
override
get(String url, Map<String, dynamic> headers, DohProvider dohProvider) Future<DohResponse>
override
makeRequest({required String method, required Map<String, dynamic> request}) Future<DohResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(String url, Map<String, dynamic> headers, String body, DohProvider dohProvider) Future<DohResponse>
override
post(String url, Map<String, dynamic> headers, String body, DohProvider dohProvider) Future<DohResponse>
override
put(String url, Map<String, dynamic> headers, String body, DohProvider dohProvider) Future<DohResponse>
override
removeInterceptor(BaseDohInterceptor interceptor) → void
Remove an interceptor
override
toString() String
A string representation of this object.
inherited

Operators

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