TomSecretsBrowserHosts constructor

TomSecretsBrowserHosts({
  1. required String home,
  2. required String hostExecutable,
  3. String? operatingSystem,
  4. Map<String, String>? environment,
  5. TomSecretsRegistry? registry,
})

The manifests in home naming hostExecutable (its absolute path), on operatingSystem (default this one); environment (default the process's) gives Windows' LOCALAPPDATA and APPDATA; registry (default reg.exe) holds Windows' keys.

Implementation

TomSecretsBrowserHosts({
  required this.home,
  required this.hostExecutable,
  String? operatingSystem,
  Map<String, String>? environment,
  TomSecretsRegistry? registry,
}) : operatingSystem = operatingSystem ?? Platform.operatingSystem,
     _environment = environment ?? Platform.environment,
     _registry = registry ?? const TomSecretsRegExe();