ThrottleSettings.fromJson constructor

ThrottleSettings.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ThrottleSettings.fromJson(Map<String, dynamic> json) {
  return ThrottleSettings(
    burstLimit: json['burstLimit'] as int?,
    rateLimit: json['rateLimit'] as double?,
  );
}