toJson method

Map<String, dynamic> toJson()

Implementation

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