factory ImageScanningConfiguration.fromJson(Map<String, dynamic> json) { return ImageScanningConfiguration( scanOnPush: json['scanOnPush'] as bool?, ); }