BaseMappingAnnotation<M extends Mapper> class
abstract
- Inheritance
-
- Object
- BaseMapping<
M> - BaseMappingAnnotation
- Implemented types
- Implementers
Constructors
- BaseMappingAnnotation({bool registerGlobally = true, MapperDirection direction = MapperDirection.both})
-
const
- BaseMappingAnnotation.mapper(Type mapperType, {MapperDirection direction = MapperDirection.both})
-
const
- BaseMappingAnnotation.mapperInstance(M instance, {MapperDirection direction = MapperDirection.both})
-
const
- BaseMappingAnnotation.namedFactory(String name, [Object? configInstance, bool registerGlobally = true])
-
const
- BaseMappingAnnotation.namedMapper(String name, {MapperDirection direction = MapperDirection.both})
-
const
Properties
- direction → MapperDirection?
-
Specifies whether this mapper should handle serialization, deserialization, or both.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mapper
→ MapperRef<
M> ? -
Provides a MapperRef if a custom mapper is specified.
no setterinherited
- registerGlobally → bool
-
Controls whether the generated mapper should be registered globally
in the
initRdfMapperfunction.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited