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