when<TResult extends Object?> method

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

Implementation

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