ModerationConfigList class

Represents a list of moderation configurations with a query and state.

The primary interface for working with moderation configuration lists in the Stream Feeds SDK that provides functionality for querying and managing collections of moderation configurations with pagination support.

Each moderation config list instance is associated with a specific query and maintains its own state that can be observed for real-time updates. The moderation config list state includes configurations and pagination information.

Inheritance

Constructors

ModerationConfigList({required ModerationConfigsQuery query, required ModerationRepository moderationRepository, required SharedEmitter<WsEvent> eventsEmitter})

Properties

eventsEmitter SharedEmitter<WsEvent>
final
hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
Returns true if this object has been disposed.
no setterinherited
moderationRepository → ModerationRepository
final
notifier → StateNotifier<ModerationConfigListState>
no setter
query ModerationConfigsQuery
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state ModerationConfigListState
no setter
stream Stream<ModerationConfigListState>
no setter

Methods

dispose() → void
Disposes of this object.
override
get() Future<Result<List<ModerationConfigData>>>
Queries the initial list of moderation configurations based on the provided ModerationConfigsQuery.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryMoreConfigs({int? limit}) Future<Result<List<ModerationConfigData>>>
Queries more moderation configurations based on the current pagination state.
toString() String
A string representation of this object.
inherited

Operators

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