ModelDefinitionModelOptions.fromJson constructor
ModelDefinitionModelOptions.fromJson(
- Map json_
Implementation
ModelDefinitionModelOptions.fromJson(core.Map json_)
: this(
labels: json_.containsKey('labels')
? (json_['labels'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
lossType: json_.containsKey('lossType')
? json_['lossType'] as core.String
: null,
modelType: json_.containsKey('modelType')
? json_['modelType'] as core.String
: null,
);