FeedData class

A feed in the Stream Feeds system.

A container for activities that can be followed, have members, and maintain social relationships. Contains feed metadata, social statistics, access control capabilities, and supports real-time updates via WebSocket.

Annotations
  • @freezed

Constructors

FeedData.new({required DateTime createdAt, required UserData createdBy, DateTime? deletedAt, required String description, required FeedId fid, List<String> filterTags = const [], required int followerCount, required int followingCount, required String groupId, required String id, required int memberCount, required String name, required List<FeedOwnCapability> ownCapabilities, required int pinCount, required DateTime updatedAt, String? visibility, Map<String, Object?>? custom})
Creates a new FeedData instance.
const

Properties

copyWith → $FeedDataCopyWith<FeedData>
Create a copy of FeedData with the given fields replaced by the non-null parameter values.
no setterinherited
createdAt DateTime
The date and time when the feed was created.
final
createdBy UserData
The user who created the feed.
final
custom Map<String, Object?>?
A map of custom attributes associated with the feed.
final
deletedAt DateTime?
The date and time when the feed was deleted, if applicable.
final
description String
A description of the feed.
final
fid FeedId
The unique identifier for the feed.
final
filterTags List<String>
A list of tags used to filter the feed.
final
followerCount int
The number of followers for the feed.
final
followingCount int
The number of feeds that this feed is following.
final
groupId String
The group identifier for the feed.
final
hashCode int
The hash code for this object.
no setterinherited
id String
The unique identifier for the feed.
final
memberCount int
The number of members in the feed.
final
name String
The name of the feed.
final
ownCapabilities List<FeedOwnCapability>
The capabilities that the current user has on the feed.
final
pinCount int
The number of pinned items in the feed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt DateTime
The date and time when the feed was last updated.
final
visibility String?
The visibility status of the feed.
final

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