JsonValue class

Json object

Constructors

JsonValue(dynamic _value)
Initialize

Properties

booValue bool
bool
no setter
hashCode int
The hash code for this object.
no setterinherited
listObject List?
If _value is List ,return the list which element`s type is original
no setter
listValue List<JsonValue>
If _value is List ,return the list which element`s type is JsonValue
no setter
mapObject Map?
If _value is Map ,return the map which value`s type is original
no setter
mapValue Map<dynamic, JsonValue>
If _value is Map ,return the map which value`s type is JsonValue
no setter
numValue num
num
no setter
optionBool bool?
Optional bool
no setter
optionNum num?
Optional num
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
string String?
Optional string
no setter
stringValue String
string
no setter
type JsonType
_value type
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJsonString() String
object to string
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](dynamic key) JsonValue
key is int or String If key is int & type is Map ,return listkey else _nullValue If key is String & type is List ,return mapkey else _nullValue