getJson method

Future getJson(
  1. String name
)

Implementation

Future<dynamic> getJson(String name) async {
  final j = await getJsonString(name).then(jsonDecode);
  if (j is Map && j.containsKey('Message')) throw DsbException(j['Message']);
  return j;
}