maybeMap<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
- required TResult orElse(
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult maybeMap<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,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;