toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (cancelReason != null) 'cancelReason': cancelReason!,
  if (eventAttemptStats != null) 'eventAttemptStats': eventAttemptStats!,
  if (eventExecutionSnapshot != null)
    'eventExecutionSnapshot': eventExecutionSnapshot!,
  if (eventExecutionSnapshotsSize != null)
    'eventExecutionSnapshotsSize': eventExecutionSnapshotsSize!,
  if (eventExecutionState != null)
    'eventExecutionState': eventExecutionState!,
  if (eventRetriesFromBeginningCount != null)
    'eventRetriesFromBeginningCount': eventRetriesFromBeginningCount!,
  if (logFilePath != null) 'logFilePath': logFilePath!,
  if (networkAddress != null) 'networkAddress': networkAddress!,
  if (nextExecutionTime != null) 'nextExecutionTime': nextExecutionTime!,
  if (ryeLockUnheldCount != null) 'ryeLockUnheldCount': ryeLockUnheldCount!,
};