getGroupMemberRole method
Implementation
@override
Future<Map<String, dynamic>> getGroupMemberRole(
String topic,
String inboxId,
) async {
try {
final params = <String, dynamic>{
'topic': topic,
'inboxId': inboxId,
}.jsify() as JSObject;
final result = await _promiseToFuture(
_clientManager.getGroupMemberRole(params),
);
return _jsObjectToMap(result);
} catch (e) {
throw Exception('Failed to get group member role: $e');
}
}