querySelfUserInfo method

Future<Map> querySelfUserInfo()

Implementation

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

  return jsObjectToMap(result);
}