load static method

Future<void> load()

Implementation

static Future<void> load() async {
  // Read the file
  final String response = await rootBundle.loadString(languageJson);

  // Decode JSON
  data = await json.decode(response);
}