import '../../../infrastructure/repository/repository.dart';
import '../bloc/chat_state.dart';
import '../data_provider/chat_data_provider.dart';

class ChatRepository extends Repository<ChatState> {
  final ChatDataProvider _provider;

  ChatRepository([ChatDataProvider? provider])
    : _provider = provider ?? ChatDataProvider();

  ChatDataProvider get data => _provider;
}
