Explicit type for listeners (#11)

This commit is contained in:
Hiroshi Horie
2021-09-28 15:31:54 +09:00
committed by GitHub
parent 6445b8d2a8
commit 4960459c07
5 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ class RoomPage extends StatefulWidget {
class _RoomPageState extends State<RoomPage> {
//
List<Participant> participants = [];
late final _listener = EventsListener<LiveKitEvent>(widget.room.events);
late final _listener = EventsListener<RoomEvent>(widget.room.events);
@override
void initState() {