WrapJson class

Constructors

WrapJson(Map<String, dynamic> data)

Properties

data Map<String, dynamic>
final
extMap Map<String, dynamic>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isSuccess bool
---- 一些扩展工具类
no setter
message String
no setter
resultApiData → dynamic
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getInt(String key, {int defaultValue = 0}) int
getListValue(String key) List
getMap(String key, [Map<String, dynamic>? defaultValue]) Map<String, dynamic>
getMap2(String key1, String key2) Map<String, dynamic>
getString(String key, {String defaultValue = ''}) String
getValue(String key) → dynamic
ifNotNull(String key, ValueChanged value) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
print([VoidCallback? doSomeing]) → void
toString() String
A string representation of this object.
inherited

Operators

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