loadText static method
Implementation
static Future<MapEntry<String, String>> loadText(
String path, String? raw) async {
String data;
if (raw != null && raw != '') {
data = raw;
} else {
data = await rootBundle.loadString(path);
}
return MapEntry<String, String>(path, data);
}