whenOrNull<TResult extends Object?> method

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

Implementation

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