JsonValueItem class

Implemented types

Constructors

JsonValueItem.new({required JsonValue item, required List<List<JsonValue>> arrayReferences, required List<List<(String, JsonValue)>> mapReferences})
const
JsonValueItem.fromJson(Object? json_)
Returns a new instance from a JSON value. May throw if the value does not have the expected structure.
factory

Properties

arrayReferences List<List<JsonValue>>
final
hashCode int
The hash code for this object.
no setteroverride
item JsonValue
final
mapReferences List<List<(String, JsonValue)>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({JsonValue? item, List<List<JsonValue>>? arrayReferences, List<List<(String, JsonValue)>>? mapReferences}) JsonValueItem
Returns a new instance by overriding the values passed as arguments
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Returns this as a serializable JSON value.
override
toString() String
A string representation of this object.
override
toWasm() List<Object?>
Returns this as a WASM canonical abi value.
override

Operators

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