loadInstructionHelperJson method

Future<Map<String, dynamic>> loadInstructionHelperJson({
  1. Languages language = Languages.en,
})
inherited

Implementation

Future<Map<String, dynamic>> loadInstructionHelperJson({
  Languages language = Languages.en,
}) async {
  final loadedJson = await rootBundle.loadString(
    'packages/routing_client_dart/src/assets/${language.code}.json',
    cache: false,
  );
  return json.decode(loadedJson);
}