TableRow.fromJson constructor

TableRow.fromJson(
  1. Map json_
)

Implementation

TableRow.fromJson(core.Map json_)
    : this(
        rowHeight: json_.containsKey('rowHeight')
            ? Dimension.fromJson(
                json_['rowHeight'] as core.Map<core.String, core.dynamic>)
            : null,
        tableCells: (json_['tableCells'] as core.List?)
            ?.map((value) => TableCell.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        tableRowProperties: json_.containsKey('tableRowProperties')
            ? TableRowProperties.fromJson(json_['tableRowProperties']
                as core.Map<core.String, core.dynamic>)
            : null,
      );