Table.fromJson constructor
Table.fromJson(
- Map json_
Implementation
Table.fromJson(core.Map json_)
: this(
columnProperties:
(json_['columnProperties'] as core.List?)
?.map(
(value) => TableColumnProperties.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
name: json_['name'] as core.String?,
range:
json_.containsKey('range')
? GridRange.fromJson(
json_['range'] as core.Map<core.String, core.dynamic>,
)
: null,
rowsProperties:
json_.containsKey('rowsProperties')
? TableRowsProperties.fromJson(
json_['rowsProperties']
as core.Map<core.String, core.dynamic>,
)
: null,
tableId: json_['tableId'] as core.String?,
);