veilidchat/lib/chat/cubits/active_chat_cubit.dart

11 lines
317 B
Dart
Raw Normal View History

2024-01-30 17:03:14 -05:00
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:veilid_support/veilid_support.dart';
class ActiveChatCubit extends Cubit<TypedKey?> {
2024-02-20 17:57:05 -05:00
ActiveChatCubit(super.initialState);
2024-01-30 17:03:14 -05:00
2024-05-27 18:04:00 -04:00
void setActiveChat(TypedKey? activeChatLocalConversationRecordKey) {
emit(activeChatLocalConversationRecordKey);
2024-01-30 17:03:14 -05:00
}
}