toColumnNullable method

ColumnNullable toColumnNullable()

Implementation

ColumnNullable toColumnNullable() {
  switch (this) {
    case 'NOT_NULL':
      return ColumnNullable.notNull;
    case 'NULLABLE':
      return ColumnNullable.nullable;
    case 'UNKNOWN':
      return ColumnNullable.unknown;
  }
  throw Exception('$this is not known in enum ColumnNullable');
}