mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-12-18 04:24:29 -05:00
14 lines
493 B
Dart
14 lines
493 B
Dart
import 'package:bloc_advanced_tools/bloc_advanced_tools.dart';
|
|
|
|
import '../models/models.dart';
|
|
import '../repository/processor_repository.dart';
|
|
|
|
export '../models/processor_connection_state.dart';
|
|
|
|
class ConnectionStateCubit
|
|
extends StreamWrapperCubit<ProcessorConnectionState> {
|
|
ConnectionStateCubit(ProcessorRepository processorRepository)
|
|
: super(processorRepository.streamProcessorConnectionState(),
|
|
defaultState: processorRepository.processorConnectionState);
|
|
}
|