generate method
Generates Dart code for an input Dart library.
May create additional outputs through the buildStep, but the 'primary'
output is Dart code returned through the Future. If there is nothing to
generate for this library may return null, or a Future that resolves to
null or the empty string.
@param library The library element to generate code for @param buildStep The build step providing context for generation @return Generated code as a string, or null if nothing to generate
Implementation
FutureOr<String?> generate(LibraryElement library, BuildStep buildStep) => null;