setGroupAttributes method

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

Implementation

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

  return jsObjectToMap(result);
}