GoogleCloudIntegrationsV1alphaErrorCatcherConfig.fromJson constructor

GoogleCloudIntegrationsV1alphaErrorCatcherConfig.fromJson(
  1. Map json_
)

Implementation

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