Ok class

执行返回的对象

Constructors

Ok({int code = 0, String msg = "SUCCESS", Object? data})

Properties

code int
getter/setter pair
data Object?
getter/setter pair
getCode int
no setter
getData Object?
no setter
getMsg String
no setter
hashCode int
The hash code for this object.
no setterinherited
msg String
getter/setter pair
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
toString() String
A string representation of this object.
inherited

Operators

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