GoogleCloudIntegrationsV1alphaErrorCatcherConfig.fromJson constructor

GoogleCloudIntegrationsV1alphaErrorCatcherConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIntegrationsV1alphaErrorCatcherConfig.fromJson(core.Map json_)
  : this(
      description: json_['description'] as core.String?,
      errorCatcherId: json_['errorCatcherId'] as core.String?,
      errorCatcherNumber: json_['errorCatcherNumber'] as core.String?,
      label: json_['label'] as core.String?,
      position:
          json_.containsKey('position')
              ? GoogleCloudIntegrationsV1alphaCoordinate.fromJson(
                json_['position'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      startErrorTasks:
          (json_['startErrorTasks'] as core.List?)
              ?.map(
                (value) => GoogleCloudIntegrationsV1alphaNextTask.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
    );