updateUserExtendedData method

Future<Map> updateUserExtendedData(
  1. String extendedData
)

Implementation

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

  return jsObjectToMap(result);
}