maybeWhen<TResult extends Object?> method

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

Implementation

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