BarcodeResult.fromJson constructor

BarcodeResult.fromJson(
  1. Map json
)

Constructs a BarcodeResult from a JSON map.

Implementation

BarcodeResult.fromJson(Map<dynamic, dynamic> json)
    : format = json['format'],
      text = json['text'],
      x1 = json['x1'],
      y1 = json['y1'],
      x2 = json['x2'],
      y2 = json['y2'],
      x3 = json['x3'],
      y3 = json['y3'],
      x4 = json['x4'],
      y4 = json['y4'],
      angle = json['angle'];