toJson method

Map<String, Object?> toJson()

Converts this summary into a serialization-friendly map.

Implementation

Map<String, Object?> toJson() {
  return <String, Object?>{
    'dirtyLineCount': dirtyLineCount,
    'changedLineCount': changedLineCount,
    'changedCellCount': changedCellCount,
    'changedSpanCount': changedSpanCount,
    'hasChanges': hasChanges,
  };
}