JsonParser class

Constructors

JsonParser()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

valueAs<T extends Object?>(Object? value, {bool? allowHex, StringEncoding? encoding, bool asBytes = false}) → T
valueAsBigInt<T extends BigInt?>(Object? value, {bool allowHex = false}) → T
valueAsBool<T extends bool?>(Object? value) → T
valueAsBytes<T extends List<int>?>(Object? value, {bool allowHex = true, StringEncoding? encoding}) → T
valueAsDouble<T extends double?>(Object? value) → T
valueAsInt<T extends int?>(Object? value, {bool allowHex = false, bool allowDouble = false}) → T
valueAsList<T extends List?>(Object? value) → T
valueAsMap<T extends Map?>(Object? value) → T
valueAsSet<T extends Set?>(Object? value) → T
valueAsString<T extends String?>(Object? value) → T
valueEnsureAsList<T>(Object? value) List<T>
valueEnsureAsMap<KK, VV>(Object? value) Map<KK, VV>
valueEnsureAsSet<T>(Object? value) Set<T>
valueTo<T extends Object?, VV extends Object?>({required Object? value, required T parse(VV v), bool? allowHex, StringEncoding? encoding, bool asBytes = false}) → T