MapperConfig class

Helper Class to read attributes out of the Mapper and Mapping Annotations

Constructors

MapperConfig()

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

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

Static Methods

isIgnoreMapping(MethodElement method) bool
readMapperConfig(ConstantReader annotation, ClassElement mappingClass) Map<String, dynamic>
Reads the attributes given in the Mapper Annotation, and returns a map, where the key is the attributename, and value the value of the read attribute.
readMappingConfig(MethodElement method) Map<String, MappingConfig>
Reads the attributes of the Mapping annotations of a given Method, and returns key value pairs, where the key is the target, and the value is an instance of MappingConfig containing the source and other meta attributes