toRefreshSchemasStatusTypeValue method

RefreshSchemasStatusTypeValue toRefreshSchemasStatusTypeValue()

Implementation

RefreshSchemasStatusTypeValue toRefreshSchemasStatusTypeValue() {
  switch (this) {
    case 'successful':
      return RefreshSchemasStatusTypeValue.successful;
    case 'failed':
      return RefreshSchemasStatusTypeValue.failed;
    case 'refreshing':
      return RefreshSchemasStatusTypeValue.refreshing;
  }
  throw Exception('$this is not known in enum RefreshSchemasStatusTypeValue');
}