verifyIdCard method

  1. @override
Future<Either<VerificationFailure, Map<String, dynamic>>> verifyIdCard(
  1. String? frontImage,
  2. String? backImage,
  3. String? sideImage,
  4. String documentType,
  5. String apikey,
  6. String accessToken,
)
override

Implementation

@override
Future<Either<VerificationFailure, Map<String, dynamic>>> verifyIdCard(
  String? frontImage,
  String? backImage,
  String? sideImage,
  String documentType,
  String apikey,
  String accessToken,
) async {
  var isVerfied = await verifyDocument(
    frontImage: frontImage,
    backImage: backImage,
    sideImage: sideImage,
    documentType: documentType,
    apiKey: apikey,
    accessToken: accessToken,
  );

  return isVerfied;
}