featureFlagsTogglesToJson function
Implementation
Map<String, dynamic> featureFlagsTogglesToJson(FeatureFlagsToggles entity) {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['name'] = entity.name;
data['enabled'] = entity.enabled;
data['variant'] = entity.variant?.toJson();
return data;
}