addToFields method
Add the information about the plugin to the list of fields
to be sent to
the instrumentation server.
Implementation
void addToFields(List<String> fields) {
fields.add(pluginId);
fields.add(name ?? '');
fields.add(version ?? '');
}