maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult knownValue(
    1. KnownCreateSessionStatus data
    )?,
  2. TResult unknownValue(
    1. String data
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(KnownCreateSessionStatus data)? knownValue,
  TResult Function(String data)? unknownValue,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;