Parse from a json
factory PassportElementErrorSourceFile.fromJson(Map<String, dynamic> json) => PassportElementErrorSourceFile( fileIndex: json['file_index'], );