MapperContainer class abstract Generics Mapper Container

Implementers
Annotations
  • @sealed

Constructors

MapperContainer({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
fromIterable<T>(Iterable iterable) → T
fromJson<T>(String json) → T
fromMap<T>(Map<String, dynamic> map) → T
fromValue<T>(dynamic value) → T
get<T>([Type? type]) MapperBase<T>?
getAll() List<MapperBase>
hash(dynamic value) int
Creates a combined hash code for a number of objects.
override
isEqual(dynamic value, Object? other) bool
linkAll(Iterable<MapperContainer> containers) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toIterable<T>(T object) Iterable
toJson<T>(T object) String
toMap<T>(T object) Map<String, dynamic>
toString() String
A string representation of this object.
inherited
toValue<T>(T value) → dynamic
unuse<T>() MapperBase<T>?
use<T>(MapperBase<T> mapper) → void
useAll(Iterable<MapperBase> mappers) → void

Operators

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

Static Properties

defaults MapperContainer
final