FeatureSelectionConfig_FeatureConfig.fromJson constructor
FeatureSelectionConfig_FeatureConfig.fromJson(
- Object? j
Implementation
factory FeatureSelectionConfig_FeatureConfig.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return FeatureSelectionConfig_FeatureConfig(
featureId: switch (json['featureId']) {
null => '',
Object $1 => decodeString($1),
},
driftThreshold: switch (json['driftThreshold']) {
null => 0,
Object $1 => decodeDouble($1),
},
);
}