when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult string(
    1. String value
    ),
  2. required TResult input(
    1. InputType value
    ),
  3. required TResult enum_(
    1. SchemaEnum value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function(String value) string,
  required TResult Function(InputType value) input,
  required TResult Function(SchemaEnum value) enum_,
}) =>
    throw _privateConstructorUsedError;