maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult game(
    1. Game<Event> game
    )?,
  2. TResult error(
    1. String message,
    2. String person
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(@GameConverter() G game)? game,
  TResult Function(String message, String person)? error,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;