BuildDaemonClient class Null safety

A client of the build daemon.

Handles starting and connecting to the build daemon.

Example: https://pub.dev/packages/build_daemon#-example-tab-

Properties

buildResults Stream<BuildResults>
read-only
finished Future<void>
read-only
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
shutdownNotifications Stream<ShutdownNotification>
read-only

Methods

close() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
registerBuildTarget(BuildTarget target) → void
Registers a build target to be built upon any file change.
startBuild() → void
Builds all registered targets, including those not from this client.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

connect(String workingDirectory, List<String> daemonCommand, {Serializers? serializersOverride, void logHandler(ServerLog)?, bool includeParentEnvironment = true, Map<String, String>? environment, BuildMode buildMode = BuildMode.Auto}) Future<BuildDaemonClient>
Connects to the current daemon instance.