BaseModel<T> class
abstract
Properties
- code ↔ int?
-
getter/setter pair
- 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?
-
getter/setter pair
- response ↔ Response
-
getter/setter pair
- result ↔ T?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success ↔ bool?
-
getter/setter pair
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') -
toListModel(
TransformJson serializer, dynamic l) → bool -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited