stream_feeds library

Classes

AcceptFeedMemberInviteResponse
AcceptFollowRequest
AcceptFollowResponse
Action
ActionLogResponse
ActionSequence
ActivitiesFilterField
Represents a field that can be used in activities filtering.
ActivitiesQuery
A query for retrieving activities with filtering, sorting, and pagination.
ActivitiesSort
Represents a sorting operation for activities.
ActivitiesSortField
Defines the fields by which activities can be sorted.
Activity
Represents a single activity with its data and state.
ActivityAddCommentRequest
A request for adding a comment to an activity.
ActivityAddedEvent
ActivityCommentList
Represents a list of activity comments with a query and state.
ActivityCommentListState
An observable state object that manages the current state of an activity comment list.
ActivityCommentListStateNotifier
Manages the state of an activity comment list and handles state updates.
ActivityCommentsQuery
A query for retrieving comments for a specific activity.
ActivityData
An activity in the Stream Feeds system.
ActivityDeletedEvent
ActivityFeedbackEvent
ActivityFeedbackEventPayload
ActivityFeedbackRequest
ActivityFeedbackResponse
ActivityList
Represents a list of activities with a query and state.
ActivityListState
An observable state object that manages the current state of an activity list.
ActivityListStateNotifier
Manages the state of an activity list and handles state updates.
ActivityLocation
ActivityMarkEvent
ActivityPinnedEvent
ActivityPinResponse
ActivityProcessorConfig
ActivityReactionAddedEvent
ActivityReactionDeletedEvent
ActivityReactionUpdatedEvent
ActivityRemovedFromFeedEvent
ActivityRequest
ActivityResponse
ActivitySelectorConfig
ActivityState
An observable state object that manages the current state of an activity.
ActivityStateNotifier
Manages the state of an activity and handles state updates.
ActivityUnpinnedEvent
ActivityUpdateCommentRequest
A request for updating a comment to an activity.
ActivityUpdatedEvent
AddActivityRequest
AddActivityResponse
AddBookmarkRequest
AddBookmarkResponse
AddCommentReactionRequest
AddCommentReactionResponse
AddCommentRequest
AddCommentResponse
AddCommentsBatchRequest
AddCommentsBatchResponse
AddFolderRequest
AddReactionRequest
AddReactionResponse
AggregatedActivityData
Aggregated activities in the Stream Feeds system.
AggregatedActivityResponse
AggregationConfig
AIImageConfig
AITextConfig
AIVideoConfig
AndOperator<T extends Object>
Logical AND filter requiring all conditions to match.
AnySortComparator<T extends Object>
A type-erased wrapper for sort comparators that can work with any model type.
ApiErrorInterceptor
ApiKeyInterceptor
AppEventResponse
AppResponseFields
AppUpdatedEvent
Attachment
AttachmentFile
Cross-platform file wrapper for Stream attachments.
AttachmentUploadState
Represents the upload state of an attachment.
AudioSettingsResponse
Authenticating
The WebSocket connection is established and authentication is in progress.
AuthInterceptor
Authentication interceptor that refreshes the token if an auth error is received
AutoCompleteOperator<T extends Object>
Word prefix matching filter for autocomplete.
AutomaticReconnectionPolicy
An interface that defines a policy for determining whether the WebSocket should attempt an automatic reconnection based on specific conditions.
AutomodPlatformCircumventionConfig
AutomodRule
AutomodSemanticFiltersConfig
AutomodSemanticFiltersRule
AutomodToxicityConfig
AWSRekognitionRule
BackgroundStateReconnectionPolicy
A reconnection policy that checks the application's lifecycle state before allowing reconnection. This prevents reconnection when the app is in the background to save battery and resources.
BackgroundTransformer
The default Transformer for Dio.
BackstageSettingsResponse
Ban
BanActionRequest
BanOptions
BanRequest
BanResponse
BaseOptions
A set of base settings for each Dio(). BaseOptions and Options will be merged into one RequestOptions before sending the requests. See Options.compose.
BlockActionRequest
BlockedUserResponse
BlockListConfig
BlockListOptions
BlockListResponse
BlockListRule
BlockUsersRequest
BlockUsersResponse
BodyguardRule
BodyguardSeverityRule
BookmarkAddedEvent
BookmarkData
A bookmark in the Stream Feeds system.
BookmarkDeletedEvent
BookmarkFolderData
A bookmark folder in the Stream Feeds system.
BookmarkFolderDeletedEvent
BookmarkFolderList
Represents a list of bookmark folders with a query and state.
BookmarkFolderListState
An observable state object that manages the current state of a bookmark folder list.
BookmarkFolderListStateNotifier
Manages the state of a bookmark folder list and handles state updates.
BookmarkFolderResponse
BookmarkFoldersFilterField
Represents a field that can be used in bookmark folders filtering.
BookmarkFoldersQuery
A query for retrieving bookmark folders with filtering, sorting, and pagination.
BookmarkFoldersSort
Represents a sorting operation for bookmark folders.
BookmarkFoldersSortField
Defines the fields by which bookmark folders can be sorted.
BookmarkFolderUpdatedEvent
BookmarkList
Represents a list of bookmarks with a query and state.
BookmarkListState
An observable state object that manages the current state of a bookmark list.
BookmarkListStateNotifier
Manages the state of a bookmark list and handles state updates.
BookmarkResponse
BookmarksFilterField
Represents a field that can be used in bookmarks filtering.
BookmarksQuery
A query for retrieving bookmarks with filtering, sorting, and pagination.
BookmarksSort
Represents a sorting operation for bookmarks.
BookmarksSortField
Defines the fields by which bookmarks can be sorted.
BookmarkUpdatedEvent
BoundingBox
A rectangular geographic region for area-based location filtering.
BroadcastSettingsResponse
ByteBuffer
A sequence of bytes underlying a typed data object.
ByteData
A fixed-length, random-access sequence of bytes that also provides random and unaligned access to the fixed-width integers and floating point numbers represented by those bytes.
BytesBuilder
Builds a list of bytes, allowing bytes and lists of bytes to be added at the end.
CallIngressResponse
CallParticipantResponse
CallResponse
CallSessionResponse
CallSettingsResponse
CancelToken
Controls cancellation of Dio's requests.
CastPollVoteRequest
CdnClient
Content Delivery Network (CDN) client for file operations.
Channel
ChannelConfig
ChannelConfigWithInfo
ChannelMember
ChannelMemberLookup
ChannelMemberResponse
ChannelMute
ChannelPushPreferences
ChannelResponse
CircularRegion
A circular geographic region for proximity-based location filtering.
CollectionRequest
CollectionResponse
Command
CommentAddedEvent
CommentData
A comment in the Stream Feeds system.
CommentDeletedEvent
CommentList
A list of comments with a query and state.
CommentListState
An observable state object that manages the current state of a comment list.
CommentListStateNotifier
Manages the state of a comment list and handles state updates.
CommentReactionAddedEvent
CommentReactionDeletedEvent
CommentReactionList
Represents a list of comment reactions with a query and state.
CommentReactionListState
An observable state object that manages the current state of a comment reaction list.
CommentReactionListStateNotifier
Manages the state of a comment reaction list and handles state updates.
CommentReactionsFilterField
Represents a field that can be used in comment reactions filtering.
CommentReactionsQuery
A query for retrieving comment reactions with filtering, sorting, and pagination.
CommentReactionsSort
Represents a sorting operation for comment reactions.
CommentReactionsSortField
Defines the fields by which comment reactions can be sorted.
CommentReactionUpdatedEvent
CommentRepliesQuery
A query for retrieving replies to a specific comment.
CommentReplyList
Represents a list of comment replies with a query and state.
CommentReplyListState
An observable state object that manages the current state of a comment reply list.
CommentReplyListStateNotifier
Manages the state of a comment reply list and handles state updates.
CommentResponse
CommentsFilterField
Represents a field that can be used in comments filtering.
CommentsQuery
A query for retrieving comments with filtering, sorting, and pagination.
CommentsSortDataFields
Interface for comment data that can be sorted.
CommentsSortField
CommentUpdatedEvent
ComparableField<T extends Object>
A type-safe wrapper for ordering values.
ComparisonOperator<T extends Object>
Base class for comparison-based filter operations.
CompositeReconnectionPolicy
A composite reconnection policy that combines multiple policies using a logical operator (AND/OR). This allows for complex reconnection logic by combining multiple conditions.
ConfigOverrides
ConfigResponse
Connected
The WebSocket is fully connected and authenticated.
Connecting
The WebSocket is attempting to establish a connection.
ConnectionIdInterceptor
Interceptor that injects the connection id in the request params
ConnectionRecoveryHandler
A connection recovery handler with intelligent reconnection management.
ConnectUserDetailsRequest
ContainsOperator<T extends Object>
Containment filter for JSON and array subset matching.
ContentCountRuleParameters
CreateBlockListRequest
CreateBlockListResponse
CreateCollectionsRequest
CreateCollectionsResponse
CreateDeviceRequest
CreateFeedsBatchRequest
CreateFeedsBatchResponse
CreateGuestRequest
CreateGuestResponse
CreatePollOptionRequest
CreatePollRequest
CurrentPlatform
Platform detection utility for identifying the current runtime environment.
CustomActionRequest
Data
DecayFunctionConfig
DefaultApi
DefaultRetryStrategy
Default implementation of RetryStrategy that uses exponential backoff with jitter.
DeleteActivitiesRequest
DeleteActivitiesResponse
DeleteActivityReactionResponse
DeleteActivityRequest
DeleteActivityResponse
DeleteBookmarkFolderResponse
DeleteBookmarkResponse
DeleteCollectionsResponse
DeleteCommentReactionResponse
DeleteCommentRequest
DeleteCommentResponse
DeleteFeedResponse
DeleteMessageRequest
DeleteModerationConfigResponse
DeleteReactionRequest
DeleteUserRequest
DeliveryReceipts
DeliveryReceiptsResponse
DenormalizedChannelFields
Device
DeviceResponse
Dio
Dio enables you to make HTTP requests easily.
DioMixin
Disconnected
The WebSocket connection is closed and not available for communication.
Disconnecting
The WebSocket connection is in the process of being closed.
DisconnectionSource
Represents the source or cause of a WebSocket disconnection.
Disposable
A convenience class to represent a disposable object.
DraftPayloadResponse
DraftResponse
DurationResponse
DynamicTokenProvider
A token provider that dynamically loads fresh JWT tokens using a custom function.
EgressHLSResponse
EgressResponse
EgressRTMPResponse
Endian
Endianness of number representation.
EnrichedActivity
EnrichedCollectionResponse
EnrichedReaction
EntityCreatorResponse
EpochDateTimeConverter
A JsonConverter that converts between DateTime and epoch nanoseconds as int.
EqualOperator<T extends Object>
Equality filter using exact value matching.
ErrorInterceptorHandler
The handler for interceptors to handle error occurred during the request.
EvaluationOperator<T extends Object>
Base class for text-based evaluation filters.
ExistsOperator<T extends Object>
Field existence/absence filter.
Failure
Represents failed result.
Feed
A feed represents a collection of activities and provides methods to interact with them.
FeedAddActivityRequest
A request for adding an activity to feeds.
FeedCreatedEvent
FeedData
A feed in the Stream Feeds system.
FeedDeletedEvent
FeedGroup
FeedGroupChangedEvent
FeedGroupDeletedEvent
FeedId
A unique feed identifier.
FeedInput
FeedInputData
Input data for creating or updating a feed.
FeedList
Represents a list of feeds with a query and state.
FeedListState
An observable state object that manages the current state of a feed list.
FeedListStateNotifier
Manages the state of a feed list and handles state updates.
FeedMemberAddedEvent
FeedMemberData
A member of a feed.
FeedMemberRemovedEvent
FeedMemberRequest
FeedMemberRequestData
A member request for adding to a feed.
FeedMemberResponse
FeedMemberUpdatedEvent
FeedQuery
A query for retrieving and managing feed data from Stream Feeds.
FeedRequest
FeedResponse
FeedsConfig
Configuration settings for the Stream Feeds SDK.
FeedsFilterField
Represents a field that can be used in feeds filtering.
FeedsPreferences
FeedsPreferencesResponse
FeedsQuery
A query for retrieving feeds with filtering, sorting, and pagination.
FeedsReactionResponse
FeedsSort
Represents a sorting operation for feeds.
FeedsSortField
Defines the fields by which feeds can be sorted.
FeedState
Represents the current state of a feed.
FeedStateNotifier
Manages the state of a feed and handles state updates.
FeedSuggestionData
A feed suggestion in the Stream Feeds system.
FeedSuggestionResponse
FeedUpdatedEvent
Field
FileUploadConfig
FileUploadRequest
FileUploadResponse
Filter<T extends Object>
Type-safe filter for querying data.
FilterConfigResponse
FilterField<T>
Type-safe field identifier for filtering and value extraction.
FlagCountRuleParameters
FlagRequest
FlagResponse
FlagUserOptions
Float32List
A fixed-length list of IEEE 754 single-precision binary floating-point numbers that is viewable as a TypedData.
Float32x4
Four 32-bit floating point values.
Float32x4List
A fixed-length list of Float32x4 numbers that is viewable as a TypedData.
Float64List
A fixed-length list of IEEE 754 double-precision binary floating-point numbers that is viewable as a TypedData.
Float64x2
Float64x2 immutable value type and operations.
Float64x2List
A fixed-length list of Float64x2 numbers that is viewable as a TypedData.
FollowBatchRequest
FollowBatchResponse
FollowCreatedEvent
FollowData
A follow relationship between feeds.
FollowDeletedEvent
FollowList
Represents a list of follows with a query and state.
FollowListState
An observable state object that manages the current state of a follow list.
FollowListStateNotifier
Manages the state of a follow list and handles state updates.
FollowRequest
FollowResponse
FollowsFilterField
Represents a field that can be used in follows filtering.
FollowsQuery
A query for retrieving follow relationships with filtering, sorting, and pagination.
FollowsSort
Represents a sorting operation for follows.
FollowsSortField
Defines the fields by which follows can be sorted.
FollowUpdatedEvent
FormData
A class to create readable "multipart/form-data" streams. It can be used to submit forms and file uploads to http server.
FrameRecordingResponse
FrameRecordingSettingsResponse
FullUserResponse
FusedTransformer
A Transformer that has a fast path for decoding UTF8-encoded JSON. If the response is utf8-encoded JSON and no custom decoder is specified in the RequestOptions, this transformer is significantly faster than the default SyncTransformer and the BackgroundTransformer. This improvement is achieved by using a fused Utf8Decoder and JsonDecoder to decode the response, which is faster than decoding the utf8-encoded JSON in two separate steps, since Dart uses a special fast decoder for this case. See https://github.com/dart-lang/sdk/blob/5b2ea0c7a227d91c691d2ff8cbbeb5f7f86afdb9/sdk/lib/_internal/vm/lib/convert_patch.dart#L40
GeofenceSettingsResponse
GetActivityResponse
GetApplicationResponse
GetBlockedUsersResponse
GetCommentRepliesResponse
GetCommentResponse
GetCommentsResponse
GetConfigResponse
GetFollowSuggestionsResponse
GetOGResponse
GetOrCreateFeedRequest
GetOrCreateFeedResponse
GoogleVisionConfig
GreaterOperator<T extends Object>
Greater-than comparison filter.
GreaterOrEqualOperator<T extends Object>
Greater-than-or-equal comparison filter.
HarmConfig
Headers
The headers class for requests and responses.
HeadersInterceptor
Interceptor that sets additional headers for all requests.
HealthCheckInfo
HealthCheckPingEvent
HLSSettingsResponse
HttpClientAdapter
HttpAdapter is a bridge between Dio and HttpClient.
ImageContentParameters
ImageData
ImageRuleParameters
Images
ImageSize
ImageUploadRequest
ImageUploadResponse
IngressAudioEncodingResponse
IngressSettingsResponse
IngressSourceResponse
IngressVideoEncodingResponse
IngressVideoLayerResponse
Initialized
The initial state before any connection attempt has been made.
InOperator<T extends Object>
Membership test filter for list containment.
Int16List
A fixed-length list of 16-bit signed integers that is viewable as a TypedData.
Int32List
A fixed-length list of 32-bit signed integers that is viewable as a TypedData.
Int32x4
Int32x4 and operations.
Int32x4List
A fixed-length list of Int32x4 numbers that is viewable as a TypedData.
Int64List
A fixed-length list of 64-bit signed integers that is viewable as a TypedData.
Int8List
A fixed-length list of 8-bit signed integers.
Interceptor
Interceptor helps to deal with RequestOptions, Response, and DioException during the lifecycle of a request before it reaches users.
Interceptors
A Queue-Model list for Interceptors.
InterceptorsWrapper
A helper class to create interceptors in ease.
InternetAvailabilityReconnectionPolicy
A reconnection policy that checks for internet connectivity before allowing reconnection. This prevents unnecessary reconnection attempts when there's no network available.
LabelThresholds
LessOperator<T extends Object>
Less-than comparison filter.
LessOrEqualOperator<T extends Object>
Less-than-or-equal comparison filter.
LifecycleStateProvider
A utility class for monitoring application lifecycle state changes.
LimitsSettingsResponse
ListBlockListResponse
ListDevicesResponse
ListOperator<T extends Object>
Base class for list-based filter operations.
ListParam<T>
Indicates a param being used as queries or form data, and how does it gets formatted.
LLMConfig
LLMRule
LocationCoordinate
A geographic coordinate with latitude and longitude.
LoggingInterceptor
Interceptor dedicated to logging
LogicalOperator<T extends Object>
Base class for logical filter composition.
LogInterceptor
LogInterceptor is used to print logs during network requests. It should be the last interceptor added, otherwise modifications by following interceptors will not be logged. This is because the execution of interceptors is in the order of addition.
MarkActivityRequest
MarkReviewedRequest
MembershipLevelResponse
Message
MessageReminder
MessageResponse
ModerationActionConfig
ModerationConfigsFilterField
Represents a field that can be used in moderation configs filtering.
ModerationConfigsQuery
A query for retrieving moderation configs with filtering, sorting, and pagination.
ModerationConfigsSort
Represents a sorting operation for moderation configs.
ModerationConfigsSortField
Defines the fields by which moderation configs can be sorted.
ModerationCustomActionEvent
ModerationFlaggedEvent
ModerationFlagResponse
ModerationMarkReviewedEvent
ModerationPayload
ModerationV2Response
MultipartFile
An upload content that is a part of MultipartRequest. This doesn't need to correspond to a physical file.
MutableEventEmitter<T extends WsEvent>
A mutable event emitter for WebSocket events with resolver support.
MutableSharedEmitter<T>
A mutable emitter that allows emitting events of type T to multiple listeners.
MutableStateEmitter<T>
A mutable state emitter that allows updating the current state value.
MuteRequest
MuteResponse
NetworkStateProvider
A utility class for monitoring network connectivity changes.
NoiseCancellationSettings
NotificationComment
NotificationConfig
NotificationContext
NotificationFeedUpdatedEvent
NotificationStatusResponse
NotificationTarget
NotificationTrigger
OCRRule
OnlyUserID
Options
The configuration for a single request. BaseOptions and Options will be merged into one RequestOptions before sending the requests. See Options.compose.
OrOperator<T extends Object>
Logical OR filter requiring any condition to match.
OwnCapabilitiesBatchRequest
OwnCapabilitiesBatchResponse
OwnUser
OwnUserResponse
PagerRequest
PagerResponse
PathExistsOperator<T extends Object>
Nested JSON path existence filter.
PinActivityResponse
Poll
PollClosedFeedEvent
PollData
A poll in the Stream Feeds system.
PollDeletedFeedEvent
PollList
Represents a list of polls with a query and state.
PollListState
An observable state object that manages the current state of a poll list.
PollListStateNotifier
Manages the state of a poll list and handles state updates.
PollOption
PollOptionData
A poll option in the Stream Feeds system.
PollOptionInput
PollOptionRequest
PollOptionResponse
PollOptionResponseData
PollResponse
PollResponseData
PollsFilterField
Represents a field that can be used in polls filtering.
PollsQuery
A query for retrieving polls with filtering, sorting, and pagination.
PollsSort
Represents a sorting operation for polls.
PollsSortField
Defines the fields by which polls can be sorted.
PollUpdatedFeedEvent
PollVote
PollVoteCastedFeedEvent
PollVoteChangedFeedEvent
PollVoteData
A poll vote in the Stream Feeds system.
PollVoteList
Represents a list of poll votes with a query and state.
PollVoteListState
An observable state object that manages the current state of a poll vote list.
PollVoteListStateNotifier
Manages the state of a poll vote list and handles state updates.
PollVoteRemovedFeedEvent
PollVoteResponse
PollVoteResponseData
PollVotesFilterField
Represents a field that can be used in poll votes filtering.
PollVotesQuery
A query for retrieving poll votes with filtering, sorting, and pagination.
PollVotesResponse
PollVotesSort
Represents a sorting operation for poll votes.
PollVotesSortField
Defines the fields by which poll votes can be sorted.
PrivacySettings
PrivacySettingsResponse
PushNotificationConfig
PushNotificationsConfig
Push notification configuration settings.
PushPreferenceInput
PushPreferences
PushPreferencesResponse
PushProviderInfo
Information about the push provider.
QueryActivitiesRequest
QueryActivitiesResponse
QueryActivityReactionsRequest
QueryActivityReactionsResponse
QueryBookmarkFoldersRequest
QueryBookmarkFoldersResponse
QueryBookmarksRequest
QueryBookmarksResponse
QueryCommentReactionsRequest
QueryCommentReactionsResponse
QueryCommentsRequest
QueryCommentsResponse
QueryFeedMembersRequest
QueryFeedMembersResponse
QueryFeedsRequest
QueryFeedsResponse
QueryFollowsRequest
QueryFollowsResponse
QueryModerationConfigsRequest
QueryModerationConfigsResponse
QueryOperator<T extends Object>
Full-text search filter.
QueryPollsRequest
QueryPollsResponse
QueryPollVotesRequest
QueryReviewQueueRequest
QueryReviewQueueResponse
QueryUsersPayload
QueryUsersResponse
QueuedInterceptor
Interceptor in queue.
QueuedInterceptorsWrapper
A helper class to create QueuedInterceptor in ease.
RankingConfig
Reaction
ReactionGroupResponse
ReactionResponse
ReadCollectionsResponse
ReadReceipts
ReadReceiptsResponse
RecordSettingsResponse
RedirectRecord
A record that records the redirection happens during requests, including status code, request method, and the location.
RejectFeedMemberInviteResponse
RejectFollowRequest
RejectFollowResponse
ReminderResponseData
RepliesMeta
RequestInterceptorHandler
The handler for interceptors to handle before the request has been sent.
RequestOptions
The internal request option class that is the eventual result after BaseOptions and Options are composed.
Response<T>
The Response class contains the payload (could be transformed) that respond from the request, and other information of the response.
ResponseBody
The response wrapper class for adapters.
ResponseInterceptorHandler
The handler for interceptors to handle after respond.
Result<T>
A discriminated union that encapsulates a successful outcome with a value of type T or a failure with an arbitrary Object error.
RetryStrategy
Interface that encapsulates the logic for computing delays for failed actions that need to be retried.
ReviewQueueItemResponse
RingSettingsResponse
RTMPIngress
RTMPSettingsResponse
RuleBuilderAction
RuleBuilderCondition
RuleBuilderConditionGroup
RuleBuilderConfig
RuleBuilderRule
ScreensharingSettingsResponse
ServerInitiated
A disconnection that was initiated by the server.
SessionSettingsResponse
ShadowBlockActionRequest
SharedEmitter<T>
A read-only emitter that allows listening for events of type T.
SharedLocation
SharedLocationResponse
SharedLocationResponseData
SharedLocationsResponse
SingleFollowResponse
Sort<T extends Object>
A sort specification that defines how to order a collection of objects.
SortComparator<T extends Object, V extends Object>
A comparator that can sort model instances by extracting comparable values.
SortField<T extends Object>
A sortable field definition that maps remote field names to local value extractors.
SortParam
SortParamRequest
SpeechSegmentConfig
SRTIngress
StateEmitter<T>
A state-aware emitter that maintains the current value and emits state changes.
StaticTokenProvider
A token provider that uses a static token for a specific user.
StoriesConfig
StoriesFeedUpdatedEvent
StreamApiError
An API error response from the Stream API.
StreamAttachment
Represents a file attachment with type information and upload state.
StreamAttachmentUploader
Uploads StreamAttachment objects to remote storage.
StreamFeedsClient
Stream Feeds client for building scalable newsfeeds and activity streams.
StreamLogger
StreamWebSocketClient
A WebSocket client with connection management and event handling.
StreamWebSocketEngine<Inc, Out>
A WebSocket engine implementation that handles low-level WebSocket operations.
SubmitActionRequest
SubmitActionResponse
Success<T>
Represents successful result.
SyncTransformer
If you want to custom the transformation of request/response data, you can provide a Transformer by your self, and replace the transformer by setting the Dio.transformer.
SystemEnvironment
A class that represents the environment in which the Stream SDK is running.
SystemEnvironmentManager
A manager class to handle the current SystemEnvironment.
SystemInitiated
A disconnection that was initiated by system-level conditions.
TargetResolution
TextContentParameters
TextRuleParameters
ThreadedCommentData
A threaded comment in the Stream Feeds system.
ThreadedCommentResponse
Thresholds
ThumbnailResponse
ThumbnailsSettingsResponse
TokenManager
Manages user authentication tokens with caching and thread-safe access.
TokenProvider
A provider for loading user authentication tokens.
TranscriptionSettingsResponse
Transformer
Transformer allows changes to the request/response data before it is sent/received to/from the server.
TranslationSettings
TypedData
A typed view of a sequence of bytes.
TypedDataList<E>
A TypedData fixed-length List-view on the bytes of buffer.
TypingIndicators
TypingIndicatorsResponse
Uint16List
A fixed-length list of 16-bit unsigned integers that is viewable as a TypedData.
Uint32List
A fixed-length list of 32-bit unsigned integers that is viewable as a TypedData.
Uint64List
A fixed-length list of 64-bit unsigned integers that is viewable as a TypedData.
Uint8ClampedList
A fixed-length list of 8-bit unsigned integers.
Uint8List
A fixed-length list of 8-bit unsigned integers.
UnblockUsersRequest
UnblockUsersResponse
UnfollowResponse
UnHealthyConnection
A disconnection caused by failed connection health checks.
UnknownWSClientEvent
UnknownWSEvent
UnpinActivityResponse
UpdateActivityPartialRequest
UpdateActivityPartialResponse
UpdateActivityRequest
UpdateActivityResponse
UpdateBlockListRequest
UpdateBlockListResponse
UpdateBookmarkFolderRequest
UpdateBookmarkFolderResponse
UpdateBookmarkRequest
UpdateBookmarkResponse
UpdateCollectionRequest
UpdateCollectionsRequest
UpdateCollectionsResponse
UpdateCommentRequest
UpdateCommentResponse
UpdateFeedMembersRequest
UpdateFeedMembersResponse
UpdateFeedRequest
UpdateFeedResponse
UpdateFollowRequest
UpdateFollowResponse
UpdateLiveLocationRequest
UpdatePollOptionRequest
UpdatePollPartialRequest
UpdatePollRequest
UpdateUserPartialRequest
UpdateUsersPartialRequest
UpdateUsersRequest
UpdateUsersResponse
UploadedAttachment
Represents a successfully uploaded attachment.
UploadedFile
Represents an uploaded file result from the CDN.
UploadStateFailed
Upload state indicating the attachment upload failed.
UploadStateInProgress
Upload state indicating the attachment upload is in progress.
UploadStatePreparing
Upload state indicating the attachment is being prepared for upload.
UploadStateSuccess
Upload state indicating the attachment was successfully uploaded.
UpsertActivitiesRequest
UpsertActivitiesResponse
UpsertConfigRequest
UpsertConfigResponse
UpsertPushPreferencesRequest
UpsertPushPreferencesResponse
User
Model for the user's info.
UserBannedEvent
UserCreatedWithinParameters
UserCustomPropertyParameters
UserData
A user in the Stream Feeds system.
UserDeactivatedEvent
UserInitiated
A disconnection that was explicitly requested by the application.
UserMute
UserMutedEvent
UserMuteResponse
UserReactivatedEvent
UserRequest
UserResponse
UserResponseCommonFields
UserResponsePrivacyFields
UserRuleParameters
UserToken
A user authentication token for Stream Core API access.
UserUpdatedEvent
VelocityFilterConfig
VelocityFilterConfigRule
VideoCallRuleConfig
VideoContentParameters
VideoRuleParameters
VideoSettingsResponse
VoteData
WebSocketAutomaticReconnectionPolicy
A reconnection policy that checks if automatic reconnection is enabled based on the current state of the WebSocket connection.
WebSocketConnectionState
Represents the current state of a WebSocket connection.
WebSocketEngine<Outgoing>
Interface for WebSocket engine implementations.
WebSocketEngineListener<Incoming>
Interface for receiving WebSocket engine events.
WebSocketHealthListener
Interface for receiving WebSocket health monitoring events.
WebSocketHealthMonitor
A health monitor for WebSocket connections with ping/pong management.
WebSocketMessageCodec<Incoming, Outgoing>
Interface for WebSocket message encoding and decoding.
WebSocketOptions
Configuration options for establishing WebSocket connections.
WHIPIngress
WSAuthMessage
WsAuthMessageRequest
WSClientEvent<T extends WsEvent>
WsEvent
WSEvent<T extends WsEvent>
WsRequest

Enums

ActivityFeedbackEventPayloadAction
ActivityRequestRestrictReplies
ActivityRequestVisibility
ActivityResponseVisibility
AddActivityRequestRestrictReplies
AddActivityRequestVisibility
AudioSettingsResponseDefaultDevice
AuthType
Represents the types of authentication available for API access.
AutomodRuleAction
AutomodSemanticFiltersRuleAction
AWSRekognitionRuleAction
BanActionRequestDeleteMessages
BanOptionsDeleteMessages
BanRequestDeleteMessages
BlockListOptionsBehavior
BlockListRuleAction
BodyguardRuleAction
BodyguardSeverityRuleAction
BodyguardSeverityRuleSeverity
ChannelConfigAutomod
ChannelConfigAutomodBehavior
ChannelConfigBlocklistBehavior
ChannelConfigWithInfoAutomod
ChannelConfigWithInfoAutomodBehavior
ChannelConfigWithInfoBlocklistBehavior
ChannelMemberResponseRole
ChannelOwnCapability
ConfigOverridesBlocklistBehavior
CreateBlockListRequestType
CreateDeviceRequestPushProvider
CreatePollRequestVotingVisibility
DevicePushProvider
DioExceptionType
The exception enumeration indicates what type of exception has happened during requests.
EnrichedCollectionResponseStatus
FeedInputVisibility
FeedMemberResponseStatus
FeedOwnCapability
FeedRequestVisibility
FeedsPreferencesComment
FeedsPreferencesCommentReaction
FeedsPreferencesCommentReply
FeedsPreferencesFollow
FeedsPreferencesMention
FeedsPreferencesReaction
FileAccessMode
The file access mode when downloading a file, corresponds to a subset of dart:io::FileMode.
FollowRequestPushPreference
FollowResponsePushPreference
FollowResponseStatus
FrameRecordingSettingsResponseMode
ImageSizeCrop
ImageSizeResize
InterceptStep
Step where we're logging
LifecycleState
Enum representing the lifecycle state of the application.
ListFormat
Specifies the array format (a single parameter with multiple parameter or multiple parameters with the same name). and the separator for array items.
LLMRuleAction
MessageResponseType
NetworkState
Enum representing the state of network connectivity.
NoiseCancellationSettingsMode
NullOrdering
Defines how null values should be ordered in a sort operation.
OCRRuleAction
Operator
Defines logical operators for combining multiple reconnection policies.
PlatformType
Enumeration of supported platform types.
Priority
PushNotificationsProvider
Supported push notification providers.
PushPreferenceInputCallLevel
PushPreferenceInputChatLevel
PushPreferenceInputFeedsLevel
QueryCommentsRequestSort
ResponseType
Indicates which transformation should be applied to the response data.
RuleBuilderActionType
SortDirection
The direction of a sort operation.
SubmitActionRequestActionType
TranscriptionSettingsResponseClosedCaptionMode
TranscriptionSettingsResponseLanguage
TranscriptionSettingsResponseMode
UpdateActivityRequestRestrictReplies
UpdateFeedMembersRequestOperation
UpdateFollowRequestPushPreference
UpdatePollRequestVotingVisibility
UserType
The user authorization type.
VelocityFilterConfigRuleAction
VelocityFilterConfigRuleCascadingAction
VideoSettingsResponseCameraFacing

Mixins

OptionsMixin
The mixin class for options that provides common attributes.

Extension Types

ActivityDataVisibility
Extension type for activity visibility settings. This represents the visibility state of an activity (public, private or tag).
AttachmentType
Type-safe attachment type identifier for Stream attachments.
CloseCode
A strongly-typed wrapper around an integer WebSocket close code, as defined by the RFC 6455 WebSocket Protocol.
CommentsSort
Represents sorting options for comments queries.
Distance
A distance value with convenient unit conversions.
FeedMemberStatus
Extension type representing the different status of feed members.
FeedVisibility
Extension type representing the visibility settings for a feed.
FilterOperator
A type-safe operator identifier for filtering operations.
FollowStatus
Extension type representing the status of a follow relationship.
StreamCoreHttpClient

Extensions

ActivitiesQueryRequest on ActivitiesQuery
Extension for converting an ActivitiesQuery to a api.QueryActivitiesRequest.
ActivityDataMutations on ActivityData
Extension functions for ActivityData to handle common operations.
ActivityResponseMapper on ActivityResponse
Extension function to convert an ActivityResponse to an ActivityData model.
ActivityResponseVisibilityMapper on ActivityResponseVisibility
Extension function to convert an ActivityResponseVisibility to an ActivityDataVisibility.
AggregatedActivityResponseMapper on AggregatedActivityResponse
Extension function to convert an AggregatedActivityResponse to an AggregatedActivityData model.
AttachmentFileMultipartExtension on AttachmentFile
Extension methods for converting AttachmentFile to MultipartFile.
BookmarkFolderResponseMapper on BookmarkFolderResponse
Extension function to convert a BookmarkFolderResponse to a BookmarkFolderData model.
BookmarkFoldersQueryRequest on BookmarkFoldersQuery
Extension for converting a BookmarkFoldersQuery to a api.QueryBookmarkFoldersRequest.
BookmarkResponseMapper on BookmarkResponse
Extension function to convert a BookmarkResponse to a BookmarkData model.
BookmarksQueryRequest on BookmarksQuery
Extension for converting a BookmarksQuery to a api.QueryBookmarksRequest.
CommentReactionsQueryRequest on CommentReactionsQuery
Extension for converting a CommentReactionsQuery to a api.QueryCommentReactionsRequest.
CommentResponseMapper on CommentResponse
Extension function to convert a CommentResponse to a CommentData model.
CommentsQueryRequest on CommentsQuery
Extension for converting a CommentsQuery to a api.QueryCommentsRequest.
CommentsSortExtension on CommentsSort
Extension for converting CommentsSort to a api.QueryCommentsRequestSort.
ComparableExtension on T
Extension for comparing objects that implement the Comparable interface.
CompositeComparator on Iterable<Sort<T>>
Extension that combines multiple Sort instances into a single comparator.
DistanceExtension on num
Extension methods on num for creating Distance values.
FeedInputDataMapper on FeedInputData
Converts a FeedInputData to a FeedInput request model.
FeedInputMapper on FeedInput
Converts a FeedInput to a FeedInputData model.
FeedInputVisibilityEnumMapper on FeedInputVisibility
Converts a FeedInputVisibility to a FeedVisibility model.
FeedMemberRequestDataMapper on FeedMemberRequestData
Converts a FeedMemberRequestData to a FeedMemberRequest request model.
FeedMemberRequestMapper on FeedMemberRequest
Converts a FeedMemberRequest to a FeedMemberRequestData model.
FeedMemberResponseMapper on FeedMemberResponse
Extension function to convert a FeedMemberResponse to a FeedMemberData model.
FeedMemberResponseStatusMapper on FeedMemberResponseStatus
Extension function to convert a FeedMemberResponseStatus to a FeedMemberStatus model.
FeedQueryRequest on FeedQuery
Extension that converts a FeedQuery to a GetOrCreateFeedRequest.
FeedResponseMapper on FeedResponse
Extension function to convert a FeedResponse to a FeedData model.
FeedsQueryRequest on FeedsQuery
Extension that converts a FeedsQuery to a QueryFeedsRequest.
FeedSuggestionResponseMapper on FeedSuggestionResponse
Extension function to convert a FeedSuggestionResponse to a FeedSuggestionData model.
FeedVisibilityMapper on FeedVisibility
Converts a FeedVisibility to a FeedInputVisibility request model.
FollowResponseMapper on FollowResponse
Extension function to convert a FollowResponse to a FollowData model.
FollowResponseStatusMapper on FollowResponseStatus
Extension function to convert a FollowResponseStatus to a FollowStatus model.
FollowsQueryRequest on FollowsQuery
Extensions for converting FollowsQuery to API requests.
IterableExtensions on Iterable<T>
Extensions for basic iterable operations that work with any object type.
ListExtensions on List<T>
Extensions for basic list operations that work with any object type.
ModerationConfigsQueryRequest on ModerationConfigsQuery
Extension for converting a ModerationConfigsQuery to a api.QueryModerationConfigsRequest.
PatternMatching on Result<T>
PollDataMutations on PollData
PollOptionResponseMapper on PollOptionResponseData
Extension function to convert a PollOptionResponseData to a PollOptionData model.
PollResponseMapper on PollResponseData
Extension function to convert a PollResponseData to a PollData model.
PollsQueryRequest on PollsQuery
Extension for converting a PollsQuery to a api.QueryPollsRequest.
PollVoteResponseMapper on PollVoteResponseData
Extension function to convert a PollVoteResponseData to a PollVoteData model.
PollVotesQueryRequest on PollVotesQuery
Extension for converting a PollVotesQuery to a api.QueryPollVotesRequest.
PushNotificationsProviderMapper on PushNotificationsProvider
Converts a PushNotificationsProvider to a CreateDeviceRequestPushProvider request model.
RetryStrategyExtensions on RetryStrategy
Extension methods for the RetryStrategy interface.
SortedListExtensions on List<T>
Extensions for list operations that provide optional or required sorting.
Standard on T
A set of standard extension methods for any Object type.
StreamApiErrorExtension on StreamApiError
Extension methods for StreamApiError to provide convenient error type checks.
StreamAttachmentTypeHelper on StreamAttachment
Helper extension for StreamAttachment with convenient type checking methods.
StreamAttachmentUploaderBatch on StreamAttachmentUploader
Extension providing batch upload functionality for StreamAttachmentUploader.
StreamDioExceptionExtension on DioException
StreamFeedsClientHelpers on StreamFeedsClient
Extension methods for the StreamFeedsClient to simplify feed creation.
ThreadedCommentDataMutations on ThreadedCommentData
Extension functions for ThreadedCommentData to handle common operations.
ThreadedCommentResponseMapper on ThreadedCommentResponse
Extension function to convert a ThreadedCommentResponse to a ThreadedCommentData model.
UserResponseMapper on UserResponse
Extension function to convert a UserResponse to a UserData model.
XStreamClientHeaderExtension on SystemEnvironment
Extension on SystemEnvironment to build a Stream client header string.

Functions

defaultDioExceptionReadableStringBuilder(DioException e) String
The default implementation of building a readable string of DioException.
repeat(int times, void action(int)) → void
Executes the given function action specified number of times.
runSafely<R>(FutureOr<R> block()) Future<Result<R>>
Runs a block of code and returns a Result containing the outcome.
runSafelySync<R>(R block()) Result<R>
Runs a block of code and returns a Result containing the outcome.

Typedefs

ActivitiesFilter = Filter<ActivityData>
Represents a filtering operation for activities.
BookmarkFoldersFilter = Filter<BookmarkFolderData>
Represents a filtering operation for bookmark folders.
BookmarksFilter = Filter<BookmarkData>
Represents a filtering operation for bookmarks.
CommentReactionsFilter = Filter<FeedsReactionData>
Represents a filtering operation for comment reactions.
CommentsFilter = Filter<CommentData>
Represents filtering options for comments queries.
ConnectionIdGetter = String? Function()
ConnectionStateEmitter = StateEmitter<WebSocketConnectionState>
A state emitter for WebSocket connection state changes.
DefaultTransformer = SyncTransformer
DioError = DioException
DioError describes the exception info when a request failed.
DioErrorType = DioExceptionType
Deprecated in favor of DioExceptionType and will be removed in future major versions.
DioExceptionReadableStringBuilder = String Function(DioException e)
The readable string builder's signature of DioException.readableStringBuilder.
DioMediaType = MediaType
The type (alias) for specifying the content-type of the MultipartFile.
EventEmitter<T extends WsEvent> = SharedEmitter<T>
A read-only event emitter for WebSocket events.
EventResolver<T extends WsEvent> = T? Function(T event)
A function that inspects an event and optionally resolves it into a more specific or refined version of the same type.
FeedsFilter = Filter<FeedData>
Represents filtering options for feeds.
FilterFieldValueGetter<T, V> = V? Function(T)
Function that extracts a field value from a model instance.
Finder = T? Function<T extends StreamLogger>([dynamic criteria])
FollowsFilter = Filter<FollowData>
Represents a filtering operation for follows.
HeaderForEachCallback = void Function(String name, List<String> values)
The signature that iterates header fields.
InterceptorErrorCallback = void Function(DioException error, ErrorInterceptorHandler handler)
The signature of Interceptor.onError.
InterceptorSendCallback = void Function(RequestOptions options, RequestInterceptorHandler handler)
The signature of Interceptor.onRequest.
InterceptorSuccessCallback = void Function(Response response, ResponseInterceptorHandler handler)
The signature of Interceptor.onResponse.
IsLoggableValidator = bool Function(Priority, Tag)
JsonDecodeCallback = FutureOr Function(String)
The callback definition for decoding a JSON string.
JsonEncodeCallback = FutureOr<String> Function(Object)
The callback definition for encoding a JSON object.
LifecycleStateEmitter = StateEmitter<LifecycleState>
A type alias for a state emitter that emits LifecycleState values.
LogPrint = void Function(InterceptStep step, Object object)
Function used to print the log
MessageBuilder = String Function()
ModerationConfigsFilter = Filter<ModerationConfigData>
Represents filtering options for moderation configs.
MutableConnectionStateEmitter = MutableStateEmitter<WebSocketConnectionState>
A mutable state emitter for WebSocket connection state changes.
NetworkStateEmitter = StateEmitter<NetworkState>
A type alias for a state emitter that emits NetworkState values.
OnBatchUploadProgress = void Function(String attachmentId, double progress)
Callback for tracking batch upload progress.
OnUploadProgress = void Function(double progress)
Callback for tracking upload progress.
PingRequestBuilder = WsRequest Function([HealthCheckInfo? info])
A function that builds ping requests for health checks.
PollsFilter = Filter<PollData>
Represents filtering options for polls.
PollVotesFilter = Filter<PollVoteData>
Represents filtering options for poll votes.
ProgressCallback = void Function(int count, int total)
The type of a progress listening callback when sending or receiving data.
RequestEncoder = FutureOr<List<int>> Function(String request, RequestOptions options)
The type of a request encoding callback.
ResponseDecoder = FutureOr<String?> Function(List<int> responseBytes, RequestOptions options, ResponseBody responseBody)
The type of a response decoding callback.
SortFieldComparator<T> = int Function(T? a, T? b, SortDirection direction, NullOrdering nullOrdering)
A comparator function that compares two instances of type T based on a specified field, sort direction, and null ordering.
SortFieldValueGetter<T, V> = V? Function(T)
Signature for a function that retrieves a sortable field value of type V from an instance of type T.
Tag = String
UserTokenLoader = Future<UserToken> Function(String userId)
A function that loads user tokens.
ValidateStatus = bool Function(int? status)
The type of a response status code validate callback.
WebSocketProvider = WebSocketChannel Function(WebSocketOptions options)
Signature for a function that creates a WebSocketChannel based on WebSocketOptions.

Exceptions / Errors

AttachmentUploadException
Exception thrown when an attachment upload fails.
ClientException
DioException
DioException describes the exception info when a request failed.
HttpClientException
NotNullableError<T>
A TypeError thrown by _checkNotNullable.
StreamDioException
Error class specific to StreamChat and Dio
WebSocketEngineException