getRooms method

  1. @override
Future<ChatResult<List<ChatRoom>>> getRooms()
override

Implementation

@override
Future<ChatResult<List<ChatRoom>>> getRooms() async =>
    ChatSuccess(_rooms.values.toList());