maybeWhen<TResult extends Object?> method

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

Implementation

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