TypeReference referType(String name, [String? uri]) { return TypeReference((b) => b ..symbol = name ..url = uri); }