GoogleFirebasePredictionsV1beta1ComputePredictionsRequest.fromJson constructor

GoogleFirebasePredictionsV1beta1ComputePredictionsRequest.fromJson(
  1. Map _json
)

Implementation

GoogleFirebasePredictionsV1beta1ComputePredictionsRequest.fromJson(
    core.Map _json)
    : this(
        predictionIds: _json.containsKey('predictionIds')
            ? (_json['predictionIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        requestCaller: _json.containsKey('requestCaller')
            ? _json['requestCaller'] as core.String
            : null,
        requestType: _json.containsKey('requestType')
            ? _json['requestType'] as core.String
            : null,
      );