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