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