maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult left(
    1. L left
    )?,
  2. TResult right(
    1. R right
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(L left)? left,
  TResult Function(R right)? right,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;