namedType abstract method

NamedType namedType({
  1. required Identifier name,
  2. TypeArgumentList? typeArguments,
  3. Token? question,
})

Returns a newly created named type. The typeArguments can be null if there are no type arguments. The question can be null if there is no question mark.

Implementation

NamedType namedType({
  required Identifier name,
  TypeArgumentList? typeArguments,
  Token? question,
});