TableStats.fromJson constructor

TableStats.fromJson(
  1. Map json_
)

Implementation

TableStats.fromJson(core.Map json_)
    : this(
        averageCellsPerColumn: json_.containsKey('averageCellsPerColumn')
            ? (json_['averageCellsPerColumn'] as core.num).toDouble()
            : null,
        averageColumnsPerRow: json_.containsKey('averageColumnsPerRow')
            ? (json_['averageColumnsPerRow'] as core.num).toDouble()
            : null,
        logicalDataBytes: json_.containsKey('logicalDataBytes')
            ? json_['logicalDataBytes'] as core.String
            : null,
        rowCount: json_.containsKey('rowCount')
            ? json_['rowCount'] as core.String
            : null,
      );