maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult nothing()?,
  2. TResult just(
    1. T value
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function()? nothing,
  TResult Function(T value)? just,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;