ColumnMetadata constructor

const ColumnMetadata({
  1. required String name,
  2. required int odbcType,
})

Creates a new ColumnMetadata instance.

The name is the column name as returned from the database. The odbcType is the ODBC SQL type code (e.g., 1=CHAR, 2=INTEGER).

Implementation

const ColumnMetadata({
  required this.name,
  required this.odbcType,
});