ScannedImage.fromJson constructor Null safety

ScannedImage.fromJson(
  1. String str
)

Parse a JSON message that is returned from platform channel.

Implementation

factory ScannedImage.fromJson(String str) =>
    ScannedImage.fromMap(json.decode(str));