maybeMap<TResult extends Object?> method

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

Implementation

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