LocalNetworkPromptWatcher class

Watches a phone while a debug build launches and answers the local network prompt it raises, without which the VM service cannot be found.

Constructors

LocalNetworkPromptWatcher(String udid)

Properties

answered ↔ String?
The question it answered, once it has.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
udid → String
final

Methods

afterLaunch({Duration within = const Duration(seconds: 8)}) → Future<void>
Keeps looking for a while after launch: Flutter can find the VM service before iOS shows the prompt.
check() → Future<void>
Looks at the phone at most every few seconds and taps Allow on the local network prompt when it is up.
close() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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