CallbackResult class

Constructors

CallbackResult.new({required int status, String? callbackBody, CallbackResultError? error})

Properties

callbackBody String?
Status为200时,说明上传成功、回调成功,返回 CallbackBody
getter/setter pair
error CallbackResultError?
Status为203时,说明Callback,返回 Error,说明回调失败信息
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
status int
Callback 是否成功。枚举值,支持 200、203。200表示上传成功、回调成功;203表示上传成功,回调失败
getter/setter pair

Methods

encode() Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

decode(Object result) CallbackResult