DirectLink class

Direct link to a Chat.

Implemented types
Annotations

Constructors

DirectLink({required DirectLinkSlug slug, required DirectLinkLocation location, bool isEnabled = true, required PreciseDateTime createdAt, int visitors = 0})
DirectLink.fromJson(Map<String, dynamic> json)
Constructs a DirectLink from the provided json.
factory

Properties

createdAt PreciseDateTime
PreciseDateTime when this DirectLink was created.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
isEnabled bool
Indicator whether this DirectLink is enabled.
final
location DirectLinkLocation
Location this DirectLink leads to.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slug DirectLinkSlug
Unique slug associated with this DirectLink.
getter/setter pair
visitors int
Count of unique visitors visited the DirectLink.
final

Methods

compareTo(DirectLink other) int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a Map representing this DirectLink.
toString() String
A string representation of this object.
inherited

Operators

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