LaunchProvider<I, R extends LaunchResponse> class abstract

The base class for this library. This class represents a service that can be opened on the phone, focusing on a particular user, represented by handle. Additionally, it may accept LaunchInput parameters to further customize the view that was initialized. This class can be subclassed to represent a particular type of operation, like sending email, and the user can then register particular handlers for that operation.

Implementers
Available Extensions

Constructors

LaunchProvider()

Properties

hashCode int
The hash code for this object.
no setterinherited
operationKey OperationKey<I, R>
This represents the underlying operation. In some cases, it's the same as the provider, but it could also represent something abstract, like sending email, or opening up a certain type of link
no setter
providerKey ProviderKey<dynamic, LaunchResponse>
A key representing the provider itself.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags Set<String>
Tags allow us to assign an arbitrary meaning to each launch provider. For example, if it's a social media profile
no setter

Methods

error(Object e) → R
Creates the appropriate error object
launch([I? input]) Future<R>
Launches this app, and returns the appropriate launch response
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