from static method
Implementation
static MdTableDto from(MdTable style) {
return MdTableDto(
textStyle: TextStyleDto.maybeAs(style.table),
head: TextStyleDto.maybeAs(style.tableHead),
body: TextStyleDto.maybeAs(style.tableBody),
border: TableBorderDto.maybeFrom(style.tableBorder),
rowDecoration: BoxDecorationDto.maybeFrom(style.tableRowDecoration),
rowDecorationAlternating: style.tableRowDecorationAlternating,
cellPadding: SpacingDto.maybeFrom(style.tableCellPadding),
columnWidth: style.tableColumnWidth,
);
}