updateGroupAlias method

Future<Map> updateGroupAlias(
  1. String groupAlias,
  2. String groupID
)

Implementation

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