toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (checkpointTaskNumber != null)
        'checkpointTaskNumber': checkpointTaskNumber!,
      if (conditionResults != null) 'conditionResults': conditionResults!,
      if (diffParams != null) 'diffParams': diffParams!,
      if (eventExecutionInfoId != null)
        'eventExecutionInfoId': eventExecutionInfoId!,
      if (eventExecutionSnapshotId != null)
        'eventExecutionSnapshotId': eventExecutionSnapshotId!,
      if (eventExecutionSnapshotMetadata != null)
        'eventExecutionSnapshotMetadata': eventExecutionSnapshotMetadata!,
      if (eventParams != null) 'eventParams': eventParams!,
      if (snapshotTime != null) 'snapshotTime': snapshotTime!,
      if (taskExecutionDetails != null)
        'taskExecutionDetails': taskExecutionDetails!,
      if (taskName != null) 'taskName': taskName!,
    };