writeEnum method

void writeEnum(
  1. T generatorOptions,
  2. Root root,
  3. Indent indent,
  4. Enum anEnum, {
  5. required String dartPackageName,
})

Writes a single Enum to indent. This is needed in most generators.

Implementation

void writeEnum(
  T generatorOptions,
  Root root,
  Indent indent,
  Enum anEnum, {
  required String dartPackageName,
}) {}