From ebcd5fc51fe36a8604eb630dcb334ef240a655ca Mon Sep 17 00:00:00 2001 From: Gerson Alexander Pardo Gamez Date: Sat, 12 Oct 2024 07:26:41 -0500 Subject: [PATCH] Revert "fix: invalid string type (#77)" (#80) This reverts commit 13fc5edafb7a74bd8e11394f86557f3669024f0e. --- lib/web/rsa_web.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/web/rsa_web.dart b/lib/web/rsa_web.dart index b80420f..55d88a9 100644 --- a/lib/web/rsa_web.dart +++ b/lib/web/rsa_web.dart @@ -7,7 +7,9 @@ import 'package:web/web.dart'; class FastRsaPlugin { var _counter = 0; - Worker worker = Worker('assets/packages/fast_rsa/web/assets/worker.js'); + Worker worker = Worker( + 'assets/packages/fast_rsa/web/assets/worker.js'.toJS, + ); Map> completers = {}; static void registerWith(Registrar registrar) {