PassportElementErrorDataField.fromJson constructor
Creates a PassportElementErrorDataField object from JSON object
Implementation
factory PassportElementErrorDataField.fromJson(Map<String, dynamic> json) {
return PassportElementErrorDataField(
source: json['source']!,
type: PassportType.fromJson(json['type']!),
message: json['message']!,
fieldName: json['field_name']!,
dataHash: json['data_hash']!,
);
}