getContentById method
Implementation
CustomerPlaceContent? getContentById(String uuid, {bool searchInFlattened = false}) {
if (searchInFlattened) {
return flattenedTourChildren.firstWhereOrNull((content) => (content.uuid == uuid));
} else {
return tourContents.firstWhereOrNull((content) => (content.uuid == uuid));
}
}