when<TResult extends Object?> method

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

Implementation

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