HookContext class
What a hook is told about the current run, exposed as UDARA_*
environment variables.
Constructors
Properties
- appName → String?
-
final
- artifact → String?
-
final
- buildType → String?
-
final
- bundleId → String?
-
final
- client → String
-
final
- command → String
-
final
- envFile → File
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isTest → bool
-
final
- platform → String?
-
final
- projectDir → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secretsFile → File?
-
clients/<client>/.secrets(or.secrets_test), when present. Only hooks see it; it is never compiled into the app.final - version → String?
-
final
Methods
-
copyWith(
{String? platform, String? buildType, String? artifact}) → HookContext -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toEnvironment(
HookPoint point) → Map< String, String> -
toString(
) → String -
A string representation of this object.
inherited
-
withArtifact(
String? path) → HookContext
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited