toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final dailyCap = this.dailyCap;
  final endpointReentryCap = this.endpointReentryCap;
  final messagesPerSecond = this.messagesPerSecond;
  return {
    if (dailyCap != null) 'DailyCap': dailyCap,
    if (endpointReentryCap != null) 'EndpointReentryCap': endpointReentryCap,
    if (messagesPerSecond != null) 'MessagesPerSecond': messagesPerSecond,
  };
}