Skip to content

Commit 5938650

Browse files
committed
change the type of parameter for onSystemEvents
1 parent a25c738 commit 5938650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/realtime_client/lib/src/realtime_channel.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ class RealtimeChannel {
412412

413413
/// Sets up a listener for realtime system events for debugging purposes.
414414
RealtimeChannel onSystemEvents(
415-
void Function(Map<String, dynamic> payload) callback,
415+
void Function(dynamic payload) callback,
416416
) {
417417
return onEvents(
418418
'system',

0 commit comments

Comments
 (0)