toGlobalTableStatus method

GlobalTableStatus toGlobalTableStatus()

Implementation

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