FuchsiaCompat class Null safety

Utility class for creating connections to the Fuchsia Device.

If executed on a host (non-Fuchsia device), behaves the same as running FuchsiaRemoteConnection.connect whereby the FUCHSIA_REMOTE_URL and FUCHSIA_SSH_CONFIG variables must be set. If run on a Fuchsia device, will connect locally without need for environment variables.


hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() String
A string representation of this object.


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

Static Methods

cleanup() → void
Restores state to normal if running on a Fuchsia device.
connect() Future<FuchsiaRemoteConnection>
Creates a connection to the Fuchsia device's Dart VM's.