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