toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (attemptStats != null) 'attemptStats': attemptStats!,
  if (eventExecutionSnapshotsSize != null)
    'eventExecutionSnapshotsSize': eventExecutionSnapshotsSize!,
  if (executionSnapshots != null) 'executionSnapshots': executionSnapshots!,
  if (state != null) 'state': state!,
};