DVAppLaunch class

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

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

Static Properties

The first link -- an argument with a scheme, dartvel://orders/7 or an https app link -- this process was launched with, or null. What deepLinks.initial answers on desktop; every link argument is also delivered on DV.Platform.deepLinks.getLinkStream().
no setter

Static Methods

Opens the launch link after the first frame, and on iOS every link that arrives while the application runs.
Whether argument is a link rather than a route, a file or a flag.
lockPathFor(String appId) → String
Where the lock lives for appId: the session's runtime directory where there is one, else the temp directory.
Opens whatever route this launch was handed a link to, and answers with it.
resetForTest() → void
Forgets the initial link. For tests.
routeFor(String argument, {String filesRoute = '/open'}) → String?
The route argument asks for, or null when it asks for nothing.
start({required String appId, required List<String> arguments, required Future<void> open(String route), String? lockPath, String filesRoute = '/open', Duration poll = const Duration(milliseconds: 500), DVAppLaunchAcquire acquire = DVSingleInstance.acquire}) → Future<DVAppLaunchResult>
Takes the lock for appId, or hands arguments to the process that has it. The primary opens its own arguments' routes and, every poll, whatever later launches forwarded, through open.