resolve method

TypeOverride? resolve(
  1. String table,
  2. IntrospectedColumn column
)

The override for column of table, or null to use the built-in mapping.

Tries a specific-column match, then the column's native type (full match then base name), then its canonical type. A nullable column gets the matched override's TypeOverride.asNullable variant.

Implementation

TypeOverride? resolve(String table, IntrospectedColumn column) {
  final match = _match(table, column);
  if (match == null) return null;
  return column.isNullable ? match.asNullable() : match;
}