FunctionType constructor
FunctionType({
- required bool isNullable,
- required List<
ParameterElement> parameters, - List<
TypeParameterType> typeParameters = const <TypeParameterType>[], - 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,
});