MappingHook class abstract Mapping Hooks
Extend this class to define a custom MappingHook for a class or field.
Constructors
- MappingHook()
-
const
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
-
afterDecode(
dynamic value) → dynamic -
afterEncode(
dynamic value) → dynamic -
beforeDecode(
dynamic value) → dynamic -
beforeEncode(
dynamic value) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
wrapDecode<
T> (dynamic value, T fn(dynamic value), MapperContainer container) → T -
wrapEncode<
T> (T value, dynamic fn(T value), MapperContainer container) → dynamic
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited