maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult initial(
    1. _Initial value
    )?,
  2. TResult faceDetected(
    1. _FaceDetectedS value
    )?,
  3. TResult noFace(
    1. _NOFaceDetected value
    )?,
  4. TResult noCameraOnDevice(
    1. _NoCameraOnDevice value
    )?,
  5. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(_Initial value)? initial,
  TResult Function(_FaceDetectedS value)? faceDetected,
  TResult Function(_NOFaceDetected value)? noFace,
  TResult Function(_NoCameraOnDevice value)? noCameraOnDevice,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;