FeedInputData class
Input data for creating or updating a feed.
Contains feed configuration including name, description, visibility settings, member list, and custom metadata.
- Available extensions
- Annotations
-
- @freezed
Constructors
-
FeedInputData.new({String? description, String? name, FeedVisibility? visibility, List<
String> filterTags = const [], List<FeedMemberRequestData> members = const [], Map<String, Object?> ? custom}) -
Creates a new FeedInputData instance.
const
Properties
-
copyWith
→ $FeedInputDataCopyWith<
FeedInputData> -
Create a copy of FeedInputData
with the given fields replaced by the non-null parameter values.
no setterinherited
-
custom
→ Map<
String, Object?> ? -
Custom data associated with the feed. This property allows for storing
additional metadata or custom fields specific to your application's needs.
An empty map means no custom data is associated with the feed.
final
- description → String?
-
A description of the feed. This property provides a human-readable
description of the feed's purpose or content. It may be
null
if no description is provided.final -
filterTags
→ List<
String> -
A list of tags used for content filtering. This property contains tags
that can be used to filter content within the feed. An empty list means
no tag-based filtering is applied.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
members
→ List<
FeedMemberRequestData> -
A list of initial members to add to the feed. This property contains the
member configurations including user IDs, roles, and invitation settings.
An empty list means no initial members are configured.
final
- name → String?
-
The name of the feed. This property provides a human-readable name for the feed.
It may be
null
if no name is specified.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- visibility → FeedVisibility?
-
The visibility settings for the feed. This property controls who can
access and interact with the feed. It may be
null
to use default visibility settings.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toRequest(
) → FeedInput -
Available on FeedInputData, provided by the FeedInputDataMapper extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited