WasabiModelListVerOwner.fromElement constructor Null safety

WasabiModelListVerOwner.fromElement(
  1. Element? element
)

Implementation

WasabiModelListVerOwner.fromElement(Element? element) {
  if (element != null) {
    id = xml.element(element, 'ID')?.text;
    displayName = xml.element(element, 'DisplayName')?.text;
  }
}