GridData.fromJson constructor
GridData.fromJson(
- Map json_
Implementation
GridData.fromJson(core.Map json_)
: this(
columnMetadata: json_.containsKey('columnMetadata')
? (json_['columnMetadata'] as core.List)
.map((value) => DimensionProperties.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
rowData: json_.containsKey('rowData')
? (json_['rowData'] as core.List)
.map((value) => RowData.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
rowMetadata: json_.containsKey('rowMetadata')
? (json_['rowMetadata'] as core.List)
.map((value) => DimensionProperties.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
startColumn: json_.containsKey('startColumn')
? json_['startColumn'] as core.int
: null,
startRow: json_.containsKey('startRow')
? json_['startRow'] as core.int
: null,
);