Unit tests added

This commit is contained in:
hmalik144 committed 2022-09-27 21:46:30 +01:00
1 parent 8cc19f0dc9
commit 372f5611fe
10 files changed
+299 -2

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
import 'dart:convert';
import 'package:flutter/services.dart';
Future<Map<String, dynamic>> readJson(String filePath) async {
final String response = await rootBundle.loadString('$filePath.json');
return await json.decode(response);
}