type method

Type type(
  1. Function factory, [
  2. List<Type> args = const []
])

Implementation

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