getKeys method
Implementation
Future<List<dynamic>> getKeys() async {
final res = await promiseToFutureAsMap(
jsInvokeMethod("getAllKeys", null, null),
);
if (res == null) throw Exception("no data received from js");
if (res["error"] != null) throw Exception(res["error"]);
return res["result"];
}