maybeWhen<TResult extends Object?> method

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

Implementation

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