call method

  1. @override
Future<Either<BaseException, void>> call(
  1. ConnectChatParams params
)

Implementation

@override
Future<Either<BaseException, void>> call(ConnectChatParams params) {
  return _chatRepository.connect(
    hubPath: params.hubPath,
    chatId: params.chatId,
    onMessage: params.onMessage,
  );
}