import '../../../infrastructure/repository/repository.dart';
import '../bloc/chat_list_state.dart';
import '../data_provider/chat_list_data_provider.dart';

class ChatListRepository extends Repository<ChatListState> {
  final ChatListDataProvider _provider;

  ChatListRepository([ChatListDataProvider? provider])
    : _provider = provider ?? ChatListDataProvider();

  ChatListDataProvider get data => _provider;
}
