setCommunityChannelAttributes method

Future<Map> setCommunityChannelAttributes({
  1. required dynamic channelAttributes,
  2. required String channelID,
  3. required String communityID,
})

Implementation

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

  return _jsObjectToMap(result);
}