TargetChatInternalLink class

The chat needs to be opened with the provided internal link

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

TargetChatInternalLink({required InternalLinkType link})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
link An internal link pointing to the chat
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({InternalLinkType? link}) → TargetChatInternalLink

Available on TargetChatInternalLink, provided by the TargetChatInternalLinkExtensions extension

getConstructor() → String
override
map<TResult extends Object?>({required TResult current(TargetChatCurrent value), required TResult chosen(TargetChatChosen value), required TResult internalLink(TargetChatInternalLink value)}) → TResult

Available on TargetChat, provided by the TargetChatExtensions extension

maybeMap<TResult extends Object?>({TResult current(TargetChatCurrent value)?, TResult chosen(TargetChatChosen value)?, TResult internalLink(TargetChatInternalLink value)?, required TResult orElse()}) → TResult

Available on TargetChat, provided by the TargetChatExtensions extension

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

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(Map<String, dynamic>? json) → TargetChatInternalLink?
Inherited by: TargetChatChosen TargetChatCurrent TargetChatInternalLink
override

Constants

constructor → const String