GoogleCloudApigeeV1Score.fromJson constructor

GoogleCloudApigeeV1Score.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1Score.fromJson(core.Map json_)
    : this(
        component: json_.containsKey('component')
            ? GoogleCloudApigeeV1ScoreComponent.fromJson(
                json_['component'] as core.Map<core.String, core.dynamic>)
            : null,
        subcomponents: json_.containsKey('subcomponents')
            ? (json_['subcomponents'] as core.List)
                .map((value) => GoogleCloudApigeeV1ScoreComponent.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        timeRange: json_.containsKey('timeRange')
            ? GoogleTypeInterval.fromJson(
                json_['timeRange'] as core.Map<core.String, core.dynamic>)
            : null,
      );