AwsApiGatewayV2ApiDetails.fromJson constructor
AwsApiGatewayV2ApiDetails.fromJson(
- Map<String, dynamic> json
)
Implementation
factory AwsApiGatewayV2ApiDetails.fromJson(Map<String, dynamic> json) {
return AwsApiGatewayV2ApiDetails(
apiEndpoint: json['ApiEndpoint'] as String?,
apiId: json['ApiId'] as String?,
apiKeySelectionExpression: json['ApiKeySelectionExpression'] as String?,
corsConfiguration: json['CorsConfiguration'] != null
? AwsCorsConfiguration.fromJson(
json['CorsConfiguration'] as Map<String, dynamic>)
: null,
createdDate: json['CreatedDate'] as String?,
description: json['Description'] as String?,
name: json['Name'] as String?,
protocolType: json['ProtocolType'] as String?,
routeSelectionExpression: json['RouteSelectionExpression'] as String?,
version: json['Version'] as String?,
);
}