EnterpriseCrmEventbusProtoEventExecutionSnapshot.fromJson constructor

EnterpriseCrmEventbusProtoEventExecutionSnapshot.fromJson(
  1. Map json_
)

Implementation

EnterpriseCrmEventbusProtoEventExecutionSnapshot.fromJson(core.Map json_)
    : this(
        checkpointTaskNumber: json_.containsKey('checkpointTaskNumber')
            ? json_['checkpointTaskNumber'] as core.String
            : null,
        clientId: json_.containsKey('clientId')
            ? json_['clientId'] as core.String
            : null,
        conditionResults: json_.containsKey('conditionResults')
            ? (json_['conditionResults'] as core.List)
                .map((value) =>
                    EnterpriseCrmEventbusProtoConditionResult.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        diffParams: json_.containsKey('diffParams')
            ? EnterpriseCrmEventbusProtoEventParameters.fromJson(
                json_['diffParams'] as core.Map<core.String, core.dynamic>)
            : null,
        eventExecutionInfoId: json_.containsKey('eventExecutionInfoId')
            ? json_['eventExecutionInfoId'] as core.String
            : null,
        eventExecutionSnapshotId:
            json_.containsKey('eventExecutionSnapshotId')
                ? json_['eventExecutionSnapshotId'] as core.String
                : null,
        eventExecutionSnapshotMetadata: json_
                .containsKey('eventExecutionSnapshotMetadata')
            ? EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata
                .fromJson(json_['eventExecutionSnapshotMetadata']
                    as core.Map<core.String, core.dynamic>)
            : null,
        eventParams: json_.containsKey('eventParams')
            ? EnterpriseCrmEventbusProtoEventParameters.fromJson(
                json_['eventParams'] as core.Map<core.String, core.dynamic>)
            : null,
        exceedMaxSize: json_.containsKey('exceedMaxSize')
            ? json_['exceedMaxSize'] as core.bool
            : null,
        snapshotTime: json_.containsKey('snapshotTime')
            ? json_['snapshotTime'] as core.String
            : null,
        taskExecutionDetails: json_.containsKey('taskExecutionDetails')
            ? (json_['taskExecutionDetails'] as core.List)
                .map((value) =>
                    EnterpriseCrmEventbusProtoTaskExecutionDetails.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        taskName: json_.containsKey('taskName')
            ? json_['taskName'] as core.String
            : null,
        workflowName: json_.containsKey('workflowName')
            ? json_['workflowName'] as core.String
            : null,
      );