Scene.parse constructor
Scene.parse(
- XmlElement element
Implementation
factory Scene.parse(XmlElement element) {
return Scene(
title: findElementOrNull(element, 'sceneTitle')?.innerText,
description: findElementOrNull(element, 'sceneDescription')?.innerText,
startTime: findElementOrNull(element, 'sceneStartTime')?.innerText,
endTime: findElementOrNull(element, 'sceneEndTime')?.innerText,
);
}