PassportElementError.fromJson constructor
Parse from a json
Implementation
factory PassportElementError.fromJson(Map<String, dynamic> json) => PassportElementError(
type: PassportElementType.fromJson(json['type']),
message: json['message'],
source: PassportElementErrorSource.fromJson(json['source']),
);