validate method
Generates errors that would only be appropriate for this GeneratorAdapter.
For example, if a certain feature isn't implemented in a GeneratorAdapter yet.
Implementation
@override
List<Error> validate(PigeonOptions options, Root root) {
final List<Error> errors = <Error>[];
_errorOnEventChannelApi(errors, languageString, root);
_errorOnSealedClass(errors, languageString, root);
_errorOnInheritedClass(errors, languageString, root);
return errors;
}