FeatureValue.fromJson constructor
FeatureValue.fromJson(
- Map json_
Implementation
FeatureValue.fromJson(core.Map json_)
: this(
categoricalValue: json_.containsKey('categoricalValue')
? CategoricalValue.fromJson(json_['categoricalValue']
as core.Map<core.String, core.dynamic>)
: null,
featureColumn: json_.containsKey('featureColumn')
? json_['featureColumn'] as core.String
: null,
numericalValue: json_.containsKey('numericalValue')
? (json_['numericalValue'] as core.num).toDouble()
: null,
);