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 protocol discriminant (1..19); see OdbcType for the canonical mapping.

Implementation

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