OnRequestInfoInterceptor mixin

dio请求信息拦截,在网络请求时追加对应的信息.

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onRequestHeaders() Future<Map<String, String>?>
全局请求头信息(可选)
onRequestParams() Future<Map<String, dynamic>?>
全局请求参数(可选)
toString() String
A string representation of this object.
inherited

Operators

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