ActivitySocial class Activity Store

The likes and comments of an Activity.

Annotations

Constructors

ActivitySocial({int activityID = -1, int likesCount = 0, int commentsCount = 0, List<ActivityLike> likes = const <ActivityLike>[], List<ActivityComment> comments = const <ActivityComment>[]})
Creates an ActivitySocial.

Properties

activityID → int
Server id of the activity.
final
comments → List<ActivityComment>
The comments.
final
commentsCount → int
The number of comments.
final
hashCode → int
The hash code for this object.
no setterinherited
likes → List<ActivityLike>
The likes.
final
likesCount → int
The number of likes.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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