ScannedImage.fromMap constructor

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

Convert a map (json) to a ScannedImage instance.

Implementation

factory ScannedImage.fromMap(Map<String, dynamic> json) => ScannedImage(
      croppedImage: json['croppedImage'],
      width: json['width'],
      initialImage: json['initialImage'],
      height: json['height'],
    );