updateUserAvatarUrl method

Future<Map> updateUserAvatarUrl(
  1. String userAvatarUrl
)

Implementation

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

  return jsObjectToMap(result);
}