GoogleFirebasePredictionsV1beta1ComputePredictionsResponse.fromJson constructor

GoogleFirebasePredictionsV1beta1ComputePredictionsResponse.fromJson(
  1. Map _json
)

Implementation

GoogleFirebasePredictionsV1beta1ComputePredictionsResponse.fromJson(
    core.Map _json)
    : this(
        predictions: _json.containsKey('predictions')
            ? (_json['predictions'] as core.List)
                .map((value) =>
                    GoogleFirebasePredictionsV1beta1Prediction.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );