ResponseCopyProofDetection.fromJson constructor

ResponseCopyProofDetection.fromJson(
  1. Map<String, dynamic> json
)

Implementation

ResponseCopyProofDetection.fromJson(Map<String, dynamic> json) {
  canvas =
      json['canvas'] != null ?  Canvas.fromJson(json['canvas']) : null;
  classification = json['classification'] != null
      ?  Classification.fromJson(json['classification'])
      : null;
  emailSent = json['email_sent'];
  object =
      json['object'] != null ?  Object.fromJson(json['object']) : null;
  originals = json['originals'] != null
      ?  Originals.fromJson(json['originals'])
      : null;
  pid = json['pid'];
  qrcode =
      json['qrcode'] != null ?  Qrcode.fromJson(json['qrcode']) : null;
}