getState method
- Keyset? keyset,
- String? using,
- Set<
String> channels = const {}, - Set<
String> channelGroups = const {},
inherited
Implementation
Future<GetUserStateResult> getState(
{Keyset? keyset,
String? using,
Set<String> channels = const {},
Set<String> channelGroups = const {}}) async {
keyset ??= keysets[using];
Ensure(keyset).isNotNull('keyset');
return defaultFlow<GetUserStateParams, GetUserStateResult>(
keyset: keyset,
core: this,
params: GetUserStateParams(keyset,
channels: channels, channelGroups: channelGroups),
serialize: (object, [_]) => GetUserStateResult.fromJson(object));
}