map<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult map<TResult extends Object?>(
  1. {required TResult object(
    1. FormObjectField value
    ),
  2. required TResult map(
    1. FormMapField value
    ),
  3. required TResult string(
    1. FormStringField value
    ),
  4. required TResult bool(
    1. FormBoolField value
    ),
  5. required TResult double(
    1. FormDoubleField value
    ),
  6. required TResult int(
    1. FormIntegerField value
    ),
  7. required TResult num(
    1. FormNumField value
    ),
  8. required TResult dateTime(
    1. FormDateTimeField value
    ),
  9. required TResult duration(
    1. FormDurationField value
    ),
  10. required TResult color(
    1. FormColorField value
    )}
)
@optionalTypeArgs, inherited

Implementation

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