ModerationConfigsQuery class
A query for retrieving moderation configs with filtering, sorting, and pagination.
Configures how moderation configs should be fetched from the Stream Feeds API including filters, sorting options, and pagination parameters.
Example
final query = ModerationConfigsQuery(
filter: Filter.equal(ModerationConfigsFilterField.isActive, true),
limit: 20,
);
- Available extensions
- Annotations
-
- @freezed
Constructors
-
ModerationConfigsQuery({ModerationConfigsFilter? filter, List<
ModerationConfigsSort> ? sort, int? limit, String? next, String? previous}) -
const
Properties
-
copyWith
→ $ModerationConfigsQueryCopyWith<
ModerationConfigsQuery> -
Create a copy of ModerationConfigsQuery
with the given fields replaced by the non-null parameter values.
no setterinherited
- filter → ModerationConfigsFilter?
-
Optional filter criteria for this query.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- limit → int?
-
The maximum number of moderation configs to return.
If not specified, the API will use its default limit.
final
- next → String?
-
The next page cursor for pagination.
final
- previous → String?
-
The previous page cursor for pagination.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sort
→ List<
ModerationConfigsSort> ? -
Array of sorting criteria for this query.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toRequest(
) → QueryModerationConfigsRequest -
Available on ModerationConfigsQuery, provided by the ModerationConfigsQueryRequest extension
Converts this query to an API request format. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited