toFunctionIsolationMode method

FunctionIsolationMode toFunctionIsolationMode()

Implementation

FunctionIsolationMode toFunctionIsolationMode() {
  switch (this) {
    case 'GreengrassContainer':
      return FunctionIsolationMode.greengrassContainer;
    case 'NoContainer':
      return FunctionIsolationMode.noContainer;
  }
  throw Exception('$this is not known in enum FunctionIsolationMode');
}