AwsApiGatewayV2RouteSettings.fromJson constructor

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

Implementation

factory AwsApiGatewayV2RouteSettings.fromJson(Map<String, dynamic> json) {
  return AwsApiGatewayV2RouteSettings(
    dataTraceEnabled: json['DataTraceEnabled'] as bool?,
    detailedMetricsEnabled: json['DetailedMetricsEnabled'] as bool?,
    loggingLevel: json['LoggingLevel'] as String?,
    throttlingBurstLimit: json['ThrottlingBurstLimit'] as int?,
    throttlingRateLimit: json['ThrottlingRateLimit'] as double?,
  );
}