JSON class
JSON解析器
- Available Extensions
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- rawValue → dynamic
-
解析的值
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
as<
T> () → T? -
exists(
) → bool - 检测对应Key 的值是否存在
-
forEachList(
void callback(int, JSON)) → void - 循环读取List中的所有值
-
forEachMap(
void callback(String, JSON)) → void - 循环读取Map中的所有值
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unwrap<
S> () → Unwrap< S>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
dynamic key) → JSON -
通过
key
获取下一个JSON 不存在则返回空的JSON -
operator []=(
dynamic key, dynamic value) → void -
根据
key
更新value
key
关联的键value
关联的值