EmptyToNullHook class Mapping Hooks

A MappingHook that will change an empty string to null.

Inheritance

Constructors

EmptyToNullHook()
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
override
afterEncode(dynamic value) → dynamic
inherited
beforeDecode(dynamic value) → dynamic
inherited
beforeEncode(dynamic value) → dynamic
inherited
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
inherited
wrapEncode<T>(T value, dynamic fn(T value), MapperContainer container) → dynamic
inherited

Operators

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