whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? initializeCam()?,
  2. TResult? faceDetected()?,
  3. TResult? noFace()?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function()? initializeCam,
  TResult? Function()? faceDetected,
  TResult? Function()? noFace,
}) =>
    throw _privateConstructorUsedError;