generateMethod method

  1. @override
GeneratorExtras? generateMethod(
  1. StringBuffer buffer,
  2. Objects objects,
  3. DartGeneratorOptions options
)
override

Implementation

@override
GeneratorExtras? generateMethod(
    StringBuffer buffer, Objects objects, DartGeneratorOptions options) {
  // format the generated code to avoid making the 'analyse' task to run
  buffer.writeCopyWith(objects, options, copyWithOptions);
  return null;
}