TableBoxBorder.deserialize constructor

TableBoxBorder.deserialize(
  1. XmlElement node
)

Implementation

TableBoxBorder.deserialize(XmlElement node) {
  top = int.tryParse(node.getAttribute('borderTop') ?? '');
  right = int.tryParse(node.getAttribute('borderRight') ?? '');
  bottom = int.tryParse(node.getAttribute('borderBottom') ?? '');
  left = int.tryParse(node.getAttribute('borderLeft') ?? '');
  horizontalInside =
      int.tryParse(node.getAttribute('borderHorizontalInside') ?? '');
  verticalInside =
      int.tryParse(node.getAttribute('borderVerticalInside') ?? '');
}