updateGroupAvatarUrl method

Future<Map> updateGroupAvatarUrl(
  1. String groupAvatarUrl,
  2. String groupID
)

Implementation

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

  return jsObjectToMap(result);
}