UsernameLink class
Used to link to public users, groups and channels, see here for more info on how to handle them ».
Constructors
- UsernameLink(String username)
-
Creates a new UsernameLink 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
- tg → String
-
tg:// link
no setteroverride
- username → String
-
Username of the user, group or channel.
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