BloomGoClient class

Client protocol handler for Bloom Go mobile applications connecting to dev servers.

Example:

final client = BloomGoClient();
final manifest = await client.fetchManifest('192.168.1.10', 8080);

Constructors

BloomGoClient([Client? httpClient])
Creates a BloomGoClient using an optional custom httpClient.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Closes the underlying HTTP client connection.
fetchManifest(String host, int port) Future<BloomProjectManifest>
Fetches the remote project manifest from an active Bloom dev server at host:port.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pairDevice({required String host, required int port, required String deviceName, required String platform}) Future<bool>
Sends a device pairing handshake to the dev server at host:port.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

parseDevServerUri(Uri uri) Map<String, dynamic>
Parses a bloom://dev-server?... QR code URI into host, port, and project parameters.