StoryViews class

Story Views.

ID: 8d595cd6.

Inheritance

Constructors

StoryViews({required bool hasViewers, required int viewsCount, int? forwardsCount, List<ReactionCountBase>? reactions, int? reactionsCount, List<int>? recentViewers})
Story Views constructor.
const
StoryViews.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

flags int
Flags.
no setter
forwardsCount int?
Forwards Count.
final
hashCode int
The hash code for this object.
no setterinherited
hasViewers bool
has_viewers: bit 1 of flags.1?true
final
reactions List<ReactionCountBase>?
Reactions.
final
reactionsCount int?
Reactions Count.
final
recentViewers List<int>?
Recent Viewers.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
viewsCount int
Views Count.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() Map<String, dynamic>
Converts an object to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

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