OcrResultModel.fromMap constructor

OcrResultModel.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory OcrResultModel.fromMap(Map<String, dynamic> json) => OcrResultModel(
      isSuccess: json["isSuccess"],
      errorMessage: json["errorMessage"],
      imagePath: json["imagePath"],
      ktp: Ktp.fromMap(json["ktp"]),
    );