start function

void start(
  1. Iterable<String> _,
  2. SendPort sendPort
)

Entry point of plugin. Dart Analyzer Server runs it from its side.

Implementation

void start(Iterable<String> _, SendPort sendPort) {
  ServerPluginStarter(
          DartEnumToStringAnalyzerPlugin(PhysicalResourceProvider.INSTANCE))
      .start(sendPort);
}