GoogleCloudContentwarehouseV1QAResult.fromJson constructor

GoogleCloudContentwarehouseV1QAResult.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContentwarehouseV1QAResult.fromJson(core.Map json_)
    : this(
        confidenceScore: json_.containsKey('confidenceScore')
            ? (json_['confidenceScore'] as core.num).toDouble()
            : null,
        highlights: json_.containsKey('highlights')
            ? (json_['highlights'] as core.List)
                .map((value) =>
                    GoogleCloudContentwarehouseV1QAResultHighlight.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );