toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'passportElementInternalPassport',
if (extra != null) '@extra': extra,
'internal_passport': internal_passport
};
}