maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult documentNotRecongnized(
    1. DocumentNotRecongnized value
    )?,
  2. TResult documentBacksideNotRecongnized(
    1. DocumentBacksideNotRecongnized value
    )?,
  3. TResult faceNotMatch(
    1. FaceNotMatch value
    )?,
  4. TResult serverError(
    1. ServerError value
    )?,
  5. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(DocumentNotRecongnized value)? documentNotRecongnized,
  TResult Function(DocumentBacksideNotRecongnized value)?
      documentBacksideNotRecongnized,
  TResult Function(FaceNotMatch value)? faceNotMatch,
  TResult Function(ServerError value)? serverError,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;