OnResponseInterceptor mixin

dio响应数据拦截 onResponseMap与onResponseString回调互斥,根据请求方式决定回写对应数据对象.

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
onResponseMap(Map<String, dynamic> dataMap) → void
响应数据map
onResponseString(String data) → void
api数据回写
toString() String
A string representation of this object.
inherited

Operators

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