renewToken method
Implementation
Future<Map<dynamic, dynamic>> renewToken(String token) async {
var result = await promiseToFuture(ZIM.getInstance()!.renewToken(token))
.catchError((e) {
throw PlatformException(code: e.code.toString(), message: e.message);
});
return jsObjectToMap(result);
}