getAssetJson static method
获取asset中的json数据
Implementation
static Future<dynamic> getAssetJson(String path) async {
final obj = await rootBundle.load(path);
final data = obj.buffer.asUint8List();
final jsStr = utf8.decode(data);
final js = jsonDecode(jsStr);
return js;
}