toJson method

Map<String, dynamic> toJson()

Implementation

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