]> git.cworth.org Git - lmno.games/commit
Stop using dart:js in player.dart
authorKevin Worth <kworth082@gmail.com>
Fri, 8 May 2020 12:52:02 +0000 (08:52 -0400)
committerKevin Worth <kworth082@gmail.com>
Fri, 8 May 2020 13:36:39 +0000 (09:36 -0400)
commitc51cda3e1dae7d12830e2d26a460e714b42ea8c6
treeaeb786de1cf8d3b79813d9753be66c4c5c3514be
parent93f706f630155648f2e39e456b3e46863c549d50
Stop using dart:js in player.dart

This "web only" package was preventing the app from being built on
Android and iOS, so now that we have a method for parsing the player
list, we no longer need to use the (albeit simpler) JsArray type.

See: https://dart-lang.github.io/linter/lints/avoid_web_libraries_in_flutter.html
flutterempires/lib/player.dart