MessageLink class

Checked message links. In short: "Click here: {link.Pattern}" => "Click here: {link.Text}".

Annotations
  • @freezed

Constructors

const
factory
MessageLink.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $MessageLinkCopyWith<MessageLink>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
noPreview bool?
Website previews disabled.
no setterinherited
pattern String
Text fragment that should be replaced by link.
no setterinherited
preview MessageLinkPreview?
Optional preview info, for websites.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
Text replacement.
no setterinherited
uploads List<Upload>?
Optional upload info.
no setterinherited
url String
Internal or external link.
no setterinherited
youtubeId String?
Optional youtube movie id.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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