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