JsonConverters class

Constructors

JsonConverters()

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 Properties

Converters Map<String, IConverter>
getter/setter pair
defaultConverter IConverter
getter/setter pair
enumConverter IConverter
getter/setter pair
getJson GetJson
getter/setter pair
nativeTypes List<String>
getter/setter pair
TypeFactories Map<String, Function>
getter/setter pair

Static Methods

addTypes(Map<String, Function> types) → void
asString(dynamic value) String?
defaultGetJson(Map<String, dynamic> map, String propertyName) → dynamic
fromJson(dynamic value, String typeName, TypeContext context) → dynamic
get(String? typeName) IConverter?
resolve(String? typeName, TypeContext context) IConverter
toDouble(dynamic value) double?
toJson(dynamic value, String typeName, TypeContext context) → dynamic
toStringMap(dynamic value) Map<String, String?>?