toValue method
Implementation
String toValue() {
switch (this) {
case LambdaEventSourceType.pubSub:
return 'PUB_SUB';
case LambdaEventSourceType.iotCore:
return 'IOT_CORE';
}
}
String toValue() {
switch (this) {
case LambdaEventSourceType.pubSub:
return 'PUB_SUB';
case LambdaEventSourceType.iotCore:
return 'IOT_CORE';
}
}