addToFields method

void addToFields(
  1. List<String> fields
)

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 ?? '');
}