Converter constructor
const
Converter(
- Object? _value, {
- Object? defaultValue,
- DynamicConverter? customConverter,
Creates a converter wrapping _value with optional fallback and pre-processing.
Typically you obtain a Converter via value.convert rather than
constructing directly.
Implementation
const Converter(
this._value, {
Object? defaultValue,
DynamicConverter<dynamic>? customConverter,
}) : _defaultValue = defaultValue,
_customConverter = customConverter;