JsonMapperAdapter class Null safety

Base class for JsonMapper adapters

Implemented types

Constructors

JsonMapperAdapter({Map<Type, ICustomConverter> converters = const {}, Map<Type, ValueDecoratorFunction> valueDecorators = const {}, Map<int, ITypeInfoDecorator> typeInfoDecorators = const {}, Map<Type, dynamic> enumValues = const {}, String title = 'JsonMapperAdapter', String? refUrl, String url = 'https://github.com/k-paxian/dart-json-mapper/tree/master/adapters'})
const

Properties

converters Map<Type, ICustomConverter>
A Map of converter instances to be used for handling certain Type
final
enumValues Map<Type, dynamic>
A Map of Enum descriptors. Enum as a key and value could be Enum.values or EnumDescriptor
final
hashCode int
The hash code for this object. [...]
read-only, inherited
refUrl String?
URL to the code/package which contains types this adapter is built for
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
title String
Brief adapter description / purpose
final
typeInfoDecorators Map<int, ITypeInfoDecorator>
A Map of ITypeInfoDecorator instances used to decorate an instance of TypeInfo using an array of decorators, in the order of priority given by the int key
final
url String
URL to the adapter source code
final
valueDecorators Map<Type, ValueDecoratorFunction>
A Map of value decorator functions to be used for decorating Type instances during Deserialization process
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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