GatekeeperClientConfig class
Optional configuration loaded from the .gatekeeper directory at the
current user's home (resolved on all OSes supported by Dart).
The directory may contain:
config.json: a JSON object with optionalhost,port,access-keyandverboseentries, used as defaults for the client.access-key: a plain text file with the access key, used when neither the--access-keyoption norconfig.jsonprovides one.
Constructors
- GatekeeperClientConfig({String? host, int? port, String? accessKey, bool verbose = false})
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
load(
) → GatekeeperClientConfig -
Loads the configuration from the
.gatekeeperdirectory. -
resolveDirectory(
) → Directory? -
The
.gatekeeperdirectory at the user's home, ornullif the home directory can't be resolved. -
resolveUserHome(
) → String? - Resolves the current user's home directory on all OSes supported by Dart.