whenOrNull<TResult extends Object?> method

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

Implementation

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