mapper/mapper library
Classes
- Accessor
- @internal
- AllProperties
- wildcard that matches field values given a source and target type.
- ConstantAccessor
- @internal
- ConstantValue
- @internal
-
Convert<
S, T> - Wrapper class for a Converter that preserves the type information.
- MapAccessor
- @internal
- MapOperation
- @internal
- Mapper
-
Mapping<
S, T> - @internal
- MappingContext
- @internal
-
MappingDefinition<
S, T> -
Covers the to be executed operations that transform a source in a a target type.
S
the source typeT
the target type - MappingKey
- MappingState
- @internal
- MapProperties
- @internal
- Match
- @internal
- Properties
- wildcard that matches an explicit list of field names
- PropertyAccessor
- @internal
- PropertyProperty
- @internal
- PropertyQualifier
- base class for wildcard expressions matching source and target fields
- TypeConversions
- @internal
- TypeKey
- @internal
- ValidatingPropertyProperty
Functions
-
mapping<
S, T> () → MappingDefinition< S, T> -
create a new MappingDefinition
S
the source typeT
the target type -
matchingProperties(
) → AllProperties - return a new AllProperties wildcard
-
path(
String a, [String? b, String? c, String? d, String? e, String? f, String? g, String? h]) → List< String> -
properties(
List< String> properties) → Properties
Typedefs
-
Converter<
S, T> = T Function(S) -
A Converter converts a source type in a target type
S
the source typeT
the target type -
Finalizer<
S, T> = void Function(S, T) -
A Finalizer is executed given the mapped source and target and is used to perform any logic not expressible with the mapper.
S
the source typeT
the target type - MapperConfig = ({bool checkCycles})