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