TableRange.fromJson constructor

TableRange.fromJson(
  1. Map json_
)

Implementation

TableRange.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,
      );