RouteSettings.fromJson constructor
Implementation
factory RouteSettings.fromJson(Map<String, dynamic> json) {
return RouteSettings(
dataTraceEnabled: json['dataTraceEnabled'] as bool?,
detailedMetricsEnabled: json['detailedMetricsEnabled'] as bool?,
loggingLevel: (json['loggingLevel'] as String?)?.toLoggingLevel(),
throttlingBurstLimit: json['throttlingBurstLimit'] as int?,
throttlingRateLimit: json['throttlingRateLimit'] as double?,
);
}