ModelDeploymentMonitoringObjectiveConfig.fromJson constructor
ModelDeploymentMonitoringObjectiveConfig.fromJson(
- Object? j
Implementation
factory ModelDeploymentMonitoringObjectiveConfig.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return ModelDeploymentMonitoringObjectiveConfig(
deployedModelId: switch (json['deployedModelId']) {
null => '',
Object $1 => decodeString($1),
},
objectiveConfig: switch (json['objectiveConfig']) {
null => null,
Object $1 => ModelMonitoringObjectiveConfig.fromJson($1),
},
);
}