forDartType<T> method
Returns the appropriate sql type for the dart type provided as the generic parameter.
Implementation
@Deprecated('Use mapToVariable or a mapFromSql method instead')
SqlType<T> forDartType<T>() {
return types.singleWhere((t) => t is SqlType<T>) as SqlType<T>;
}