fromJson static method
Inherited by: PassportElementErrorSourceDataField PassportElementErrorSourceFile PassportElementErrorSourceFiles PassportElementErrorSourceFrontSide PassportElementErrorSourceReverseSide PassportElementErrorSourceSelfie PassportElementErrorSourceTranslationFile PassportElementErrorSourceTranslationFiles PassportElementErrorSourceUnspecified
Implementation
static PassportElementErrorSourceTranslationFile? fromJson(
Map<String, dynamic>? json,
) {
if (json == null) {
return null;
}
return PassportElementErrorSourceTranslationFile(
fileIndex: (json['file_index'] as int?) ?? 0,
);
}