GoogleCloudMlV1PredictionOutput.fromJson constructor

GoogleCloudMlV1PredictionOutput.fromJson(
  1. Map json_
)

Implementation

GoogleCloudMlV1PredictionOutput.fromJson(core.Map json_)
    : this(
        errorCount: json_.containsKey('errorCount')
            ? json_['errorCount'] as core.String
            : null,
        nodeHours: json_.containsKey('nodeHours')
            ? (json_['nodeHours'] as core.num).toDouble()
            : null,
        outputPath: json_.containsKey('outputPath')
            ? json_['outputPath'] as core.String
            : null,
        predictionCount: json_.containsKey('predictionCount')
            ? json_['predictionCount'] as core.String
            : null,
      );