NeuronDebugServer class
Properties
- adbForwardActive → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRunning → bool
-
no setter
- port → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
{int port = 9090, String host = '0.0.0.0', int maxRetries = 0, bool openDashboard = false, bool autoAdbForward = true}) → Future< int> -
stop(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → NeuronDebugServer
-
final
Static Methods
-
removeAdbPortForward(
{int port = 9090}) → Future< void> - Remove ADB port forward when stopping the server.
-
setupAdbPortForward(
{int port = 9090}) → Future< bool> - Try to run ADB forward from the host machine. Call this static method from your development scripts or IDE.