summaryrefslogtreecommitdiff
path: root/server/test/net/settings_test.dart
AgeCommit message (Collapse)Author
22 hoursserver: type the JSON parsing boundaries (avoid_dynamic_calls)Joel Klinghed
Give the decoded JSON values a static type before use: cast the monster-ability card list to List<List<Object?>> (and the graphic extras to Map entries), the summon payload to Map<String, dynamic>, room data lists/maps explicitly, and deck card lists to Map<String, dynamic> loop variables. The test assertions on the settings payload get the same treatment. Also drops two stale ignore comments (wrong lint code) and a redundant nested assignment.
5 daysPhase 6: settings, saves, localization parity (M6)Joel Klinghed