writeTypes abstract method

void writeTypes(
  1. Iterable<DartType>? types, {
  2. String? prefix,
})

Write the code for a comma-separated list of types, optionally prefixed by a prefix. If the list of types is null or does not contain any types, then nothing will be written.

Implementation

void writeTypes(Iterable<DartType>? types, {String? prefix});