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