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