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