PangleResult class

插件返回的结果

Implementers

Constructors

PangleResult({int? code, String? message})
const
PangleResult.fromJson(Map<String, dynamic>? json)
解析插件返回的结果
factory

Properties

code int?
结果码
final
hashCode int
The hash code for this object.
no setterinherited
message String?
一般是错误信息
final
ok bool
是否成功
no setter
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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