toPoolStatus method

PoolStatus toPoolStatus()

Implementation

PoolStatus toPoolStatus() {
  switch (this) {
    case 'ACTIVE':
      return PoolStatus.active;
    case 'DELETED':
      return PoolStatus.deleted;
  }
  throw Exception('$this is not known in enum PoolStatus');
}