getDungeonsDLC method

  1. @override
Future<Map<String, dynamic>> getDungeonsDLC(
  1. String locale, {
  2. bool testing = false,
})
override

Launcher Content - Dungeons DLCs

Implementation

@override
Future<Map<String, dynamic>> getDungeonsDLC(
  String locale, {
  bool testing = false,
}) async {
  String url;
  if (testing) {
    url = '$_launcherContentBaseUrl/dungeonsDLC/testing/$locale.json';
  } else {
    url = '$_launcherContentBaseUrl/dungeonsDLC/$locale.json';
  }
  return _fetchJson(url);
}