maybeWhen<TResult extends Object?> method

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

Implementation

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