PluginInformation constructor
PluginInformation(
- String id,
- String? executable,
- int port,
- Declaration declaration, [
- CommunicationSecret? secret,
Creates a PluginInformation with the given properties:
- executable the string required for platform specific wakeup of a plugin
- port the port of the plugin to be contacted on
secret
the secret required for communicating (if null a new secret is generated)
Implementation
PluginInformation(this.id, this.executable, this.port, this.declaration,
[CommunicationSecret? secret]) {
this.secret = secret ?? CommunicationSecret.random();
}