toJson method
Implementation
Map<String, dynamic> toJson() {
final maxConcurrency = this.maxConcurrency;
final timeoutInSeconds = this.timeoutInSeconds;
return {
if (maxConcurrency != null) 'maxConcurrency': maxConcurrency,
if (timeoutInSeconds != null) 'timeoutInSeconds': timeoutInSeconds,
};
}