toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (maxRunningTime != null) 'maxRunningTime': maxRunningTime!,
      if (maxWaitTime != null) 'maxWaitTime': maxWaitTime!,
      if (priority != null) 'priority': priority!,
    };