TableCell.fromJson constructor

TableCell.fromJson(
  1. Map json_
)

Implementation

TableCell.fromJson(core.Map json_)
  : this(
      columnSpan: json_['columnSpan'] as core.int?,
      location: json_.containsKey('location')
          ? TableCellLocation.fromJson(
              json_['location'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      rowSpan: json_['rowSpan'] as core.int?,
      tableCellProperties: json_.containsKey('tableCellProperties')
          ? TableCellProperties.fromJson(
              json_['tableCellProperties']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      text: json_.containsKey('text')
          ? TextContent.fromJson(
              json_['text'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );