RowEntity.fromJson constructor
RowEntity.fromJson(
- Map<
String, dynamic> jsonRes, - List<
ColumnEntity> columns
Implementation
factory RowEntity.fromJson(
Map<String, dynamic> jsonRes, List<ColumnEntity> columns) {
return RowEntity(
cells: columns
.map((e) => CellEntity(value: jsonRes[e.name], columnInfo: e))
.toList(growable: false),
columns: columns,
);
}