factory MRZImage.fromJson(Map<String, dynamic> json) { return MRZImage( name: json['name'] as String, value: base64Decode(json['base64'] as String), ); }