CreateTensorboardExperimentRequest.fromJson constructor
CreateTensorboardExperimentRequest.fromJson(
- Object? j
Implementation
factory CreateTensorboardExperimentRequest.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return CreateTensorboardExperimentRequest(
parent: switch (json['parent']) {
null => '',
Object $1 => decodeString($1),
},
tensorboardExperiment: switch (json['tensorboardExperiment']) {
null => null,
Object $1 => TensorboardExperiment.fromJson($1),
},
tensorboardExperimentId: switch (json['tensorboardExperimentId']) {
null => '',
Object $1 => decodeString($1),
},
);
}