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