map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult initializeCam(
    1. _Started value
    ),
  2. required TResult faceDetected(
    1. _FaceDetected value
    ),
  3. required TResult noFace(
    1. _NoFace value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(_Started value) initializeCam,
  required TResult Function(_FaceDetected value) faceDetected,
  required TResult Function(_NoFace value) noFace,
}) =>
    throw _privateConstructorUsedError;