featureFlagsTogglesFromJson function
Implementation
featureFlagsTogglesFromJson(FeatureFlagsToggles data, Map<String, dynamic> json) {
if (json['name'] != null) {
data.name = json['name'].toString();
}
if (json['enabled'] != null) {
data.enabled = json['enabled'];
}
if (json['variant'] != null) {
data.variant = FeatureFlagsTogglesVariant().fromJson(json['variant']);
}
return data;
}