Type type(Function factory, [List<Type> args = const []]) { return factory.callWith(typeArguments: args) as Type; }