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