from static method

TableBorderDto from(
  1. TableBorder border
)

Implementation

static TableBorderDto from(TableBorder border) {
  return TableBorderDto(
    top: BorderSideDto.from(border.top),
    right: BorderSideDto.from(border.right),
    bottom: BorderSideDto.from(border.bottom),
    left: BorderSideDto.from(border.left),
    horizontalInside: BorderSideDto.from(border.horizontalInside),
    verticalInside: BorderSideDto.from(border.verticalInside),
    borderRadius: BorderRadiusGeometryDto.from(border.borderRadius),
  );
}