mirror of
https://github.com/hmalik144/easy_cc_flutter.git
synced 2026-10-30 07:46:18 +00:00
Unit tests added
This commit is contained in:
1 parent
8cc19f0dc9
commit
372f5611fe
10 files changed
+299
-2
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user