getAccessibilityInformationFromAllContents method
Implementation
List<PropertyAccessibleInformation> getAccessibilityInformationFromAllContents() {
List<PropertyAccessibleInformation> accessibleInformationContents = [];
for (var content in all) {
Map<String, dynamic> jsonTemplate = content.template.toJson();
if (jsonTemplate.containsKey("accessible_information")) {
PropertyAccessibleInformation accessibleInformation =
PropertyAccessibleInformation.fromJson(jsonTemplate["accessible_information"]);
accessibleInformationContents.add(accessibleInformation);
}
}
return accessibleInformationContents;
}