FunctionType constructor

FunctionType({
  1. required bool isNullable,
  2. required List<ParameterElement> parameters,
  3. List<TypeParameterType> typeParameters = const <TypeParameterType>[],
  4. required DartType returnType,
})

Creates a new FunctionType with the given properties.

Implementation

FunctionType({
  required super.isNullable,
  required this.parameters,
  this.typeParameters = const <TypeParameterType>[],
  required this.returnType,
});