OnResponseCall 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
onComplete() → void
完成回调
onError(String message, Map<String, dynamic> dataMap) → void
失败回调 message 异常消息 dataMap dio响应数据
onSuccess(Map<String, dynamic> dataMap) → void
成功回调 dataMap dio响应数据
toString() String
A string representation of this object.
inherited

Operators

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