updateCommunityNotice method

Future<Map> updateCommunityNotice({
  1. required String communityNotice,
  2. required String communityID,
})

Implementation

Future<Map<dynamic, dynamic>> updateCommunityNotice(
    {required String communityNotice, required String communityID}) async {
  final result = await promiseToFuture(ZIM
          .getInstance()!
          .updateCommunityNotice(communityNotice, communityID))
      .catchError(_handleError);

  return _jsObjectToMap(result);
}