We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9690244 commit 8662f7bCopy full SHA for 8662f7b
lib/utils/json_loader.dart
@@ -10,7 +10,7 @@ class JsonLoader {
10
) async {
11
final cache = <String, String>{};
12
for (final pattern in globs) {
13
- final jsonPath = "${Directory.current.path}/test/widget/json/$pattern";
+ final jsonPath = "${Directory.current.path}/$pattern";
14
await for (final path in Glob(jsonPath).list()) {
15
if (path is File) {
16
final file = await (path as File).readAsString();
0 commit comments