resolveServer method
Resolves the server where the typing occurred.
Example:
client.events.typing((Typing typing) async {
final server = await typing.resolveServer();
print('Someone is typing in ${server?.name}');
});
Parameters:
forceWhether to force fetch the server from the API instead of cache. Defaults to false.
Implementation
Future<Server?> resolveServer({bool force = false}) {
return _datastore.server.get(serverId!.value, force);
}