leaveGroup method
Implementation
Future<Map<dynamic, dynamic>> leaveGroup(String groupID) async {
final result = await promiseToFuture(ZIM.getInstance()!.leaveGroup(groupID))
.catchError((e) {
throw PlatformException(code: e.code.toString(), message: e.message);
});
return jsObjectToMap(result);
}