static String getString(String name) { if (textData.any((element) => element.name == name)) { return textData.where((element) => element.name == name).first.data; } return ''; }