updateGroup method
Implementation
@override
Future<bool> updateGroup(String topic, Map<String, String> updates) async {
try {
final params = <String, dynamic>{
'topic': topic,
'updates': updates,
}.jsify() as JSObject;
await _promiseToFuture(
_clientManager.updateGroup(params),
);
return true;
} catch (e) {
throw Exception('Failed to update group: $e');
}
}