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