whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? initializeCam()?,
- TResult? faceDetected()?,
- TResult? noFace()?,
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function()? initializeCam,
TResult? Function()? faceDetected,
TResult? Function()? noFace,
}) =>
throw _privateConstructorUsedError;