nullableRefer function
A resolver that converts DartTypes into ImportableTypes, which include information about the type's name,
nullability, and required imports. It also handles function types and parameterized types.
Implementation
TypeReference nullableRefer(
String symbol, {
String? url,
bool nullable = false,
}) => TypeReference(
(b) => b
..symbol = symbol
..url = url
..isNullable = nullable,
);