mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<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
    )?,
})
inherited

Implementation

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