toAttributeAction method

AttributeAction toAttributeAction()

Implementation

AttributeAction toAttributeAction() {
  switch (this) {
    case 'ADD':
      return AttributeAction.add;
    case 'PUT':
      return AttributeAction.put;
    case 'DELETE':
      return AttributeAction.delete;
  }
  throw Exception('$this is not known in enum AttributeAction');
}