toLambdaFunctionMemoryMetricName method
Implementation
LambdaFunctionMemoryMetricName toLambdaFunctionMemoryMetricName() {
switch (this) {
case 'Duration':
return LambdaFunctionMemoryMetricName.duration;
}
throw Exception(
'$this is not known in enum LambdaFunctionMemoryMetricName');
}