getJsonFile function

Future<Map<String, dynamic>> getJsonFile(
  1. String filePath
)

Implementation

Future<Map<String, dynamic>> getJsonFile(String filePath) async {
  String content = await rootBundle.loadString(filePath);
  return fixMapString(json.decode(content));
}