setGroupAttributes method

Future<Map> setGroupAttributes(
  1. dynamic groupAttributes,
  2. String groupID
)

Implementation

Future<Map<dynamic, dynamic>> setGroupAttributes(
    dynamic groupAttributes, String groupID) async {
  final result = await promiseToFuture(ZIM
          .getInstance()!
          .setGroupAttributes(_mapToJSObject(groupAttributes), groupID))
      .catchError(_handleError);

  return _jsObjectToMap(result);
}