GoogleCloudRetailV2PredictResponsePredictionResult.fromJson constructor

GoogleCloudRetailV2PredictResponsePredictionResult.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRetailV2PredictResponsePredictionResult.fromJson(core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        metadata: json_.containsKey('metadata')
            ? json_['metadata'] as core.Map<core.String, core.dynamic>
            : null,
      );