toJson method

Map<String, dynamic> toJson()

Implementation

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