GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult.fromJson constructor
GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult.fromJson(
- Map _json
Implementation
GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult.fromJson(
core.Map _json)
: this(
id: _json.containsKey('id') ? _json['id'] as core.String : null,
itemMetadata: _json.containsKey('itemMetadata')
? (_json['itemMetadata'] as core.Map<core.String, core.dynamic>)
.map(
(key, item) => core.MapEntry(
key,
item as core.Object,
),
)
: null,
);