FeedId class

A feed identifier based on slug and userId.

Constructors

FeedId(String slug, String userId)
Builds a FeedId
FeedId.id(String id)
Builds a FeedId based on id
factory

Properties

claim String
A claim to be used in a query
no setter
hashCode int
The hash code for this object.
no setterinherited
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slug String
The name of the feed group.
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
userId String
The owner of the given 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.

Operators

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

Static Methods

fromId(String? id) FeedId?
FeedId from a string id
fromIds(List? ids) List<FeedId>?
Takes a list of feed ids of type List<String> and returns a list of feed ids of type List<FeedId>
toId(FeedId? feedId) String?
String id from a feed id
toIds(List<FeedId>? feeds) List<String>?
Takes a list of feed ids of type List<FeedId> and returns a list of feed ids as List<String>