JsonElement class

Constructors

JsonElement({String? key, dynamic value, JsonElementValueType? valueType, String? comment})
JsonElement.fromJson(Map<String, dynamic> json)
factory
JsonElement.fromObject(Object value)
factory
JsonElement.fromString(String jsonString)
factory

Properties

comment String?
final
hashCode int
The hash code for this object.
no setterinherited
key String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → dynamic
final
valueType JsonElementValueType?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toObject() Object
toPrettyString() String
toString() String
A string representation of this object.
override

Operators

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

Static Methods

format(String s, {JsonAnalyzer? analyzer}) String