toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final concurrentExecutionRatePercentage =
      this.concurrentExecutionRatePercentage;
  final errorPercentage = this.errorPercentage;
  return {
    if (concurrentExecutionRatePercentage != null)
      'ConcurrentExecutionRatePercentage': concurrentExecutionRatePercentage,
    if (errorPercentage != null) 'ErrorPercentage': errorPercentage,
  };
}