normalizeNativeType function CLI Adapters & Tooling
Normalizes a native type string for matching: trims, lowercases and
collapses internal whitespace (so timestamp with time zone matches
timestamp with time zone).
Implementation
String normalizeNativeType(String raw) =>
raw.trim().toLowerCase().replaceAll(RegExp(r'\s+'), ' ');