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