You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							48 lines
						
					
					
						
							1.5 KiB
						
					
					
				
			
		
		
	
	
							48 lines
						
					
					
						
							1.5 KiB
						
					
					
				| // GENERATED CODE - DO NOT MODIFY BY HAND | |
|  | |
| // ************************************************************************** | |
| // Generator: RxBlocGeneratorForAnnotation | |
| // ************************************************************************** | |
|  | |
| part of 'capabilities.dart'; | |
|  | |
| /// Used as a contractor for the bloc, events and states classes | |
| /// {@nodoc} | |
| abstract class CapabilitiesBlocType extends RxBlocTypeBase { | |
|   CapabilitiesBlocEvents get events; | |
|   CapabilitiesBlocStates get states; | |
| } | |
|  | |
| /// [$CapabilitiesBloc] extended by the [CapabilitiesBloc] | |
| /// {@nodoc} | |
| abstract class $CapabilitiesBloc extends RxBlocBase | |
|     implements CapabilitiesBlocEvents, CapabilitiesBlocStates, CapabilitiesBlocType { | |
|   final _compositeSubscription = CompositeSubscription(); | |
|  | |
|   /// Тhe [Subject] where events sink to by calling [refresh] | |
|   final _$refreshEvent = PublishSubject<void>(); | |
|  | |
|   /// The state of [capabilities] implemented in [_mapToCapabilitiesState] | |
|   late final BehaviorSubject<Result<CoreServerCapabilities_Ocs_Data>> _capabilitiesState = _mapToCapabilitiesState(); | |
|  | |
|   @override | |
|   void refresh() => _$refreshEvent.add(null); | |
|  | |
|   @override | |
|   BehaviorSubject<Result<CoreServerCapabilities_Ocs_Data>> get capabilities => _capabilitiesState; | |
|  | |
|   BehaviorSubject<Result<CoreServerCapabilities_Ocs_Data>> _mapToCapabilitiesState(); | |
|  | |
|   @override | |
|   CapabilitiesBlocEvents get events => this; | |
|  | |
|   @override | |
|   CapabilitiesBlocStates get states => this; | |
|  | |
|   @override | |
|   void dispose() { | |
|     _$refreshEvent.close(); | |
|     _compositeSubscription.dispose(); | |
|     super.dispose(); | |
|   } | |
| }
 | |
| 
 |