updateGroupNotice method

Future<Map> updateGroupNotice(
  1. String groupNotice,
  2. String groupID
)

Implementation

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

  return jsObjectToMap(result);
}