Skip to content

Commit a70c463

Browse files
committed
update client.activity signature
1 parent 0c4e684 commit a70c463

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/stream_feeds/lib/src/feeds_client.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,11 @@ abstract interface class StreamFeedsClient {
300300
/// ```
301301
///
302302
/// Returns an [Activity] instance that can be used to interact with the specified activity.
303-
Activity activity({required String activityId, required FeedId fid});
303+
Activity activity({
304+
required String activityId,
305+
required FeedId fid,
306+
ActivityData? initialData,
307+
});
304308

305309
/// Creates an activity list instance based on the provided [query].
306310
///

0 commit comments

Comments
 (0)