UniLinksPlatform class abstract
The interface that implementations of uni_links must implement.
Platform implementations should extend this class rather than implement it as uni_links does not consider newly added methods to be breaking changes. Extending this class ensures that the subclass will get the default implementation, while platform implementations that merely implement the interface will be broken by newly added UniLinksPlatform functions.
- Inheritance
-
- Object
- PlatformInterface
- UniLinksPlatform
Constructors
- UniLinksPlatform()
- Constructs a UniLinksPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
linkStream
→ Stream<
String?> -
A broadcast stream for receiving incoming link change events.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getInitialLink(
) → Future< String?> - Returns a Future, which completes to the initially stored link, which may be null.
-
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
- instance ↔ UniLinksPlatform
-
The default instance of UniLinksPlatform to use.
getter/setter pair