whenOrNull<TResult extends Object?> method

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

Implementation

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