CustomJsonMapper class

Constructors

CustomJsonMapper({bool verbose = false, List<JsonConverter>? converters})

Properties

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

Methods

applyDynamicFromInstanceConverter<TTo>(TTo value, [JsonConverter<dynamic, TTo>? converter]) → dynamic
applyDynamicFromJsonConverter<TTo>(dynamic value, [JsonConverter<dynamic, TTo>? converter]) → TTo?
applyFromInstanceConverter<TFrom, TTo>(TTo value, [JsonConverter<TFrom, TTo>? converter]) → TFrom?
applyFromJsonConverter<TFrom, TTo>(TFrom value, [JsonConverter<TFrom, TTo>? converter]) → TTo?
deserialize<T>(dynamic jsonVal, [String? typeName]) → T?
deserializeFromMap<T>(dynamic jsonVal, [String? typeName]) → T?
isConverterRegistered<T>() bool
isMapperRegistered<T>() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register<T>(JsonObjectMapper<T> mapper) → void
registerConverter<TFrom, TTo>(JsonConverter<TFrom, TTo> transformer) → void
registerListCast<T>(ListCastFunction<T> castFn) → void
serialize<T>(T? item) String?
serializeToMap<T>(T? item) Map<String, dynamic>?
toString() String
A string representation of this object.
inherited

Operators

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