GaDataDataTable.fromJson constructor

GaDataDataTable.fromJson(
  1. Map json_
)

Implementation

GaDataDataTable.fromJson(core.Map json_)
    : this(
        cols: json_.containsKey('cols')
            ? (json_['cols'] as core.List)
                .map((value) => GaDataDataTableCols.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        rows: json_.containsKey('rows')
            ? (json_['rows'] as core.List)
                .map((value) => GaDataDataTableRows.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );