FeedId class

A unique feed identifier.

Contains group and feed ID components formatted as 'group:id' to uniquely identify feeds across the Stream Feeds system.

Annotations
  • @freezed

Constructors

FeedId({required String group, required String id})
Creates a new FeedId instance.
const
FeedId.fromRawValue(String rawValue)
Creates a feed identifier from a raw string value.
factory
FeedId.notification(String id)
Notifications feed
const
FeedId.stories(String id)
The user's feed containing stories from followed users
const
FeedId.story(String id)
The user's own stories
const
FeedId.timeline(String id)
The user's timeline feed containing posts from followed users
const
FeedId.user(String id)
TThe user's own posts
const

Properties

copyWith → $FeedIdCopyWith<FeedId>
Create a copy of FeedId with the given fields replaced by the non-null parameter values.
no setterinherited
group String
The feed group identifier that categorizes the type of feed.
final
hashCode int
The hash code for this object.
no setterinherited
id String
The specific feed identifier within the group.
final
rawValue String
The complete feed identifier as a colon-separated string.
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.
override

Operators

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