Skip to content

Commit ab033a0

Browse files
committed
Avoid unecessary toList()
1 parent 083ba26 commit ab033a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sqlite_async/lib/src/web/database/broadcast_updates.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ extension type _BroadcastMessage._(JSObject _) implements JSObject {
4646
factory _BroadcastMessage.notifications(UpdateNotification notification) {
4747
return _BroadcastMessage(
4848
a: 0,
49-
b: notification.tables.toList().map((e) => e.toJS).toList().toJS,
49+
b: notification.tables.map((e) => e.toJS).toList().toJS,
5050
);
5151
}
5252
}

0 commit comments

Comments
 (0)