|
|
@ -11,7 +11,7 @@ import 'package:rxdart/rxdart.dart'; |
|
|
|
abstract class CapabilitiesBlocEvents {} |
|
|
|
abstract class CapabilitiesBlocEvents {} |
|
|
|
|
|
|
|
|
|
|
|
abstract class CapabilitiesBlocStates { |
|
|
|
abstract class CapabilitiesBlocStates { |
|
|
|
BehaviorSubject<Result<CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data>> get capabilities; |
|
|
|
BehaviorSubject<Result<CoreOcsGetCapabilitiesResponseApplicationJson_Ocs_Data>> get capabilities; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@internal |
|
|
|
@internal |
|
|
@ -31,13 +31,13 @@ class CapabilitiesBloc extends InteractiveBloc implements CapabilitiesBlocEvents |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
@override |
|
|
|
BehaviorSubject<Result<CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data>> capabilities = |
|
|
|
BehaviorSubject<Result<CoreOcsGetCapabilitiesResponseApplicationJson_Ocs_Data>> capabilities = |
|
|
|
BehaviorSubject<Result<CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data>>(); |
|
|
|
BehaviorSubject<Result<CoreOcsGetCapabilitiesResponseApplicationJson_Ocs_Data>>(); |
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
@override |
|
|
|
Future refresh() async { |
|
|
|
Future refresh() async { |
|
|
|
await RequestManager.instance.wrapNextcloud<CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data, |
|
|
|
await RequestManager.instance.wrapNextcloud<CoreOcsGetCapabilitiesResponseApplicationJson_Ocs_Data, |
|
|
|
CoreOcsGetCapabilitiesResponse200ApplicationJson>( |
|
|
|
CoreOcsGetCapabilitiesResponseApplicationJson>( |
|
|
|
_account.id, |
|
|
|
_account.id, |
|
|
|
'capabilities', |
|
|
|
'capabilities', |
|
|
|
capabilities, |
|
|
|
capabilities, |
|
|
|