MapperContainer class abstract

Available extensions

Constructors

MapperContainer.new(Set<BaseMapper> mappers)
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

$dec<T>(dynamic value, String key, [MappingHooks? hooks]) → T

Available on MapperContainer, provided by the GuardedUtils extension

$enc<T>(T value, String key, [MappingHooks? hooks]) → dynamic

Available on MapperContainer, provided by the GuardedUtils extension

$get<T>(Map<String, dynamic> map, String key, [MappingHooks? hooks]) → T

Available on MapperContainer, provided by the GuardedUtils extension

$getOpt<T>(Map<String, dynamic> map, String key, [MappingHooks? hooks]) → T?

Available on MapperContainer, provided by the GuardedUtils extension

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]) BaseMapper<T>?
getAll() List<BaseMapper>
hash(dynamic value) int
Creates a combined hash code for a number of objects.
override
isEqual(dynamic value, Object? other) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toIterable(dynamic object) Iterable
toJson(dynamic object) String
toMap(dynamic object) Map<String, dynamic>
toString() String
A string representation of this object.
inherited
toValue(dynamic value) → dynamic
unuse<T>() BaseMapper<T>?
use<T>(BaseMapper<T> mapper) → void
useAll(List<BaseMapper> mappers) → void

Operators

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