toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (cells != null) {
    for (var cell in cells!) {
      if (cell.columnInfo.name == null) continue;
      json[cell.columnInfo.name!] = cell.value;
    }
  }
  return json;
}