GoogleCloudAiplatformV1TimeSeriesData.fromJson constructor

GoogleCloudAiplatformV1TimeSeriesData.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1TimeSeriesData.fromJson(core.Map json_)
    : this(
        tensorboardTimeSeriesId: json_.containsKey('tensorboardTimeSeriesId')
            ? json_['tensorboardTimeSeriesId'] as core.String
            : null,
        valueType: json_.containsKey('valueType')
            ? json_['valueType'] as core.String
            : null,
        values: json_.containsKey('values')
            ? (json_['values'] as core.List)
                .map((value) =>
                    GoogleCloudAiplatformV1TimeSeriesDataPoint.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );