when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult documentNotRecongnized(),
  2. required TResult documentBacksideNotRecongnized(),
  3. required TResult faceNotMatch(),
  4. required TResult serverError(
    1. String message
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function() documentNotRecongnized,
  required TResult Function() documentBacksideNotRecongnized,
  required TResult Function() faceNotMatch,
  required TResult Function(String message) serverError,
}) =>
    throw _privateConstructorUsedError;