BaseModel<T> class
abstract
Properties
- code → int?
-
final
- data ↔ dynamic
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuccess → bool
-
no setter
-
list
↔ List<
T> -
getter/setter pair
- msg → String?
-
final
- response ↔ Response
-
latefinal
- result ↔ T?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success → bool?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serializerJson(
TransformJson serializer, {String? listKey}) → void -
此处做内省, 确定后台返回数据的格式
listkey支持KeyPath 取值 eg. serializerJson(serializer,'data.list') -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited