EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot.fromJson constructor

EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot.fromJson(
  1. Map json_
)

Implementation

EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot.fromJson(
    core.Map json_)
    : this(
        checkpointTaskNumber: json_.containsKey('checkpointTaskNumber')
            ? json_['checkpointTaskNumber'] 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')
            ? EnterpriseCrmFrontendsEventbusProtoEventParameters.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')
            ? EnterpriseCrmFrontendsEventbusProtoEventParameters.fromJson(
                json_['eventParams'] as core.Map<core.String, core.dynamic>)
            : 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,
      );