ShareLink class

Used to share a prepared message and URL into a chosen chat's text field. These links should be handled as follows: Open a dialog selection prompt After selection: validate, trim and enter the URL at the beginning of the text field Append a newline to the text field Append and select the text, if present

Inheritance

Constructors

Creates a new ShareLink object.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
https String
https://t.me/ link
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
Message to share
final
tg String
tg:// link
no setteroverride
url String
URL to share
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
By default, this method returns the tg link.
override

Operators

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