TomSecretsBrowserHostState class final

Where the host stands for one browser.

Constructors

TomSecretsBrowserHostState(TomSecretsBrowser browser, {required bool present, required bool installed, required bool current, required String manifest, String? sandboxed, List<String> problems = const []})
The state of browser.
const

Properties

browser → TomSecretsBrowser
The browser.
final
current → bool
Whether the installed manifest names this host and the product's extensions (false when not installed).
final
hashCode → int
The hash code for this object.
no setterinherited
installed → bool
Whether the product's manifest is installed for it.
final
manifest → String
The manifest file.
final
present → bool
Whether the browser is on this machine for this user (its profile folder exists).
final
problems → List<String>
What is not right, in words (empty when current).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sandboxed → String?
Why the host cannot work for it (a Flatpak or a Snap), or null.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
As toJson writes it (the app's settings, tests).
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited