shouldGenerate abstract method

IOSink? shouldGenerate(
  1. PigeonOptions options,
  2. FileType fileType
)

Returns an IOSink instance to be written to if the GeneratorAdapter should generate.

If it returns null, the GeneratorAdapter will be skipped.

Implementation

IOSink? shouldGenerate(PigeonOptions options, FileType fileType);