ProgramRenderChangeSummary.fromJson constructor

ProgramRenderChangeSummary.fromJson(
  1. Map<Object?, Object?> json
)

Rebuilds a change summary from serialized JSON data.

Implementation

factory ProgramRenderChangeSummary.fromJson(Map<Object?, Object?> json) {
  return ProgramRenderChangeSummary(
    dirtyLineCount: _jsonInt(json['dirtyLineCount']),
    changedLineCount: _jsonInt(json['changedLineCount']),
    changedCellCount: _jsonInt(json['changedCellCount']),
    changedSpanCount: _jsonInt(json['changedSpanCount']),
  );
}