writeDataClass abstract method

void writeDataClass(
  1. T generatorOptions,
  2. Root root,
  3. Indent indent,
  4. Class klass, {
  5. required String dartPackageName,
})

Writes a single data class to indent.

Implementation

void writeDataClass(
  T generatorOptions,
  Root root,
  Indent indent,
  Class klass, {
  required String dartPackageName,
});