map<TResult extends Object?> method

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

Implementation

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