DeployModelResponse.fromJson constructor

DeployModelResponse.fromJson(
  1. Object? j
)

Implementation

factory DeployModelResponse.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return DeployModelResponse(
    deployedModel: switch (json['deployedModel']) {
      null => null,
      Object $1 => DeployedModel.fromJson($1),
    },
  );
}