ocrCMT method

Future ocrCMT(
  1. String imageUrl,
  2. String? title
)

Implementation

Future ocrCMT(String imageUrl, String? title) async {
  Map<String, String> headers = {'api-key': apiKeyOCRIdPassport};
  Map<String, String> mapping = {"image": imageUrl};
  final res = await networkManger.updateFileOCR(
      url: urlBaseOCR + urlCheckIDPassport,
      headers: headers,
      mappingFile: mapping);

  // json.decode(res);
  return res;
}