toTableStatus method

TableStatus toTableStatus()

Implementation

TableStatus toTableStatus() {
  switch (this) {
    case 'CREATING':
      return TableStatus.creating;
    case 'UPDATING':
      return TableStatus.updating;
    case 'DELETING':
      return TableStatus.deleting;
    case 'ACTIVE':
      return TableStatus.active;
  }
  throw Exception('$this is not known in enum TableStatus');
}