mapOrNull<TResult extends Object?> method
Null safety
- {TResult? object(
- FormObjectField value
- TResult? map(
- FormMapField value
- TResult? string(
- FormStringField value
- TResult? bool(
- FormBoolField value
- TResult? double(
- FormDoubleField value
- TResult? int(
- FormIntegerField value
- TResult? num(
- FormNumField value
- TResult? dateTime(
- FormDateTimeField value
- TResult? duration(
- FormDurationField value
- TResult? color(
- FormColorField value
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
TResult? Function(FormObjectField value)? object,
TResult? Function(FormMapField value)? map,
TResult? Function(FormStringField value)? string,
TResult? Function(FormBoolField value)? bool,
TResult? Function(FormDoubleField value)? double,
TResult? Function(FormIntegerField value)? int,
TResult? Function(FormNumField value)? num,
TResult? Function(FormDateTimeField value)? dateTime,
TResult? Function(FormDurationField value)? duration,
TResult? Function(FormColorField value)? color,
}) =>
throw _privateConstructorUsedError;