TableCell.fromJson constructor

TableCell.fromJson(
  1. Map json_
)

Implementation

TableCell.fromJson(core.Map json_)
    : this(
        columnSpan: json_.containsKey('columnSpan')
            ? json_['columnSpan'] as core.int
            : null,
        location: json_.containsKey('location')
            ? TableCellLocation.fromJson(
                json_['location'] as core.Map<core.String, core.dynamic>)
            : null,
        rowSpan: json_.containsKey('rowSpan')
            ? json_['rowSpan'] as core.int
            : null,
        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,
      );