maybeWhen<TResult extends Object?> method

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

Implementation

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