Execution.fromJson constructor

Execution.fromJson(
  1. Map json_
)

Implementation

Execution.fromJson(core.Map json_)
    : this(
        argument: json_.containsKey('argument')
            ? json_['argument'] as core.String
            : null,
        callLogLevel: json_.containsKey('callLogLevel')
            ? json_['callLogLevel'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        disableConcurrencyQuotaOverflowBuffering: json_
                .containsKey('disableConcurrencyQuotaOverflowBuffering')
            ? json_['disableConcurrencyQuotaOverflowBuffering'] as core.bool
            : null,
        duration: json_.containsKey('duration')
            ? json_['duration'] as core.String
            : null,
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        error: json_.containsKey('error')
            ? Error.fromJson(
                json_['error'] as core.Map<core.String, core.dynamic>)
            : null,
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        result: json_.containsKey('result')
            ? json_['result'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        stateError: json_.containsKey('stateError')
            ? StateError.fromJson(
                json_['stateError'] as core.Map<core.String, core.dynamic>)
            : null,
        status: json_.containsKey('status')
            ? Status.fromJson(
                json_['status'] as core.Map<core.String, core.dynamic>)
            : null,
        workflowRevisionId: json_.containsKey('workflowRevisionId')
            ? json_['workflowRevisionId'] as core.String
            : null,
      );