MapperContainerBase class

Implemented types

Constructors

MapperContainerBase({Set<MapperBase>? mappers, Set<MapperContainer>? linked, Map<String, Function>? types})
factory

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

asString(dynamic value) String
override
fromIterable<T>(Iterable iterable) → T
override
fromJson<T>(String json) → T
override
fromMap<T>(Map<String, dynamic> map) → T
override
fromValue<T>(dynamic value) → T
override
get<T>([Type? type]) MapperBase<T>?
override
getAll() List<MapperBase>
override
getFactoriesByName(String name) List<Function>
Get a list of type factories from a type name
getFactoryById(String id) Function?
Get a type factory from a type id
guardMappable<T>(dynamic value, T fn(MapperElementBase), T fallback(), MapperMethod method, String hint()) → T
hash(dynamic value) int
Creates a combined hash code for a number of objects.
override
idOf(Type type) String?
Get the id of a type
isEqual(dynamic value, Object? other) bool
override
override
linkAll(Iterable<MapperContainer> containers) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toIterable<T>(T object) Iterable
override
toJson<T>(T object) String
override
toMap<T>(T object) Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited
toValue<T>(T value) → dynamic
override
unuse<T>() MapperBase<T>?
override
use<T>(MapperBase<T> mapper) → void
override
useAll(Iterable<MapperBase> mappers) → void
override

Operators

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