TomSecretsIntegrations constructor

TomSecretsIntegrations({
  1. required String home,
  2. String? agentEndpoint,
  3. String? tsmExecutable,
  4. String? operatingSystem,
  5. String? path,
})

The integrations under home: the ssh-agent at agentEndpoint (the service's statusReport.agent), the helper beside tsmExecutable; operatingSystem and path (PATH) default to this process's.

Implementation

TomSecretsIntegrations({
  required this.home,
  this.agentEndpoint,
  this.tsmExecutable,
  String? operatingSystem,
  String? path,
}) : operatingSystem = operatingSystem ?? Platform.operatingSystem,
     path = path ?? Platform.environment['PATH'] ?? '';