NullAwareTypeConverter<D, S extends Object>.wrap constructor
- TypeConverter<
D, S> inner
Wraps an inner
type converter that only considers non-nullable values
as a type converter that handles null values too.
The returned type converter will use the inner
type converter for non-
null values. Further, null
is mapped to null
in both directions (from
Dart to SQL and vice-versa).
Implementation
const factory NullAwareTypeConverter.wrap(TypeConverter<D, S> inner) =
_NullWrappingTypeConverter<D, S>;