LambdaFunctionMemoryRecommendationOption.fromJson constructor
LambdaFunctionMemoryRecommendationOption.fromJson(
- Map<String, dynamic> json
)
Implementation
factory LambdaFunctionMemoryRecommendationOption.fromJson(
Map<String, dynamic> json) {
return LambdaFunctionMemoryRecommendationOption(
memorySize: json['memorySize'] as int?,
projectedUtilizationMetrics:
(json['projectedUtilizationMetrics'] as List?)
?.whereNotNull()
.map((e) => LambdaFunctionMemoryProjectedMetric.fromJson(
e as Map<String, dynamic>))
.toList(),
rank: json['rank'] as int?,
);
}