toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (partsProcessed != null) 'partsProcessed': partsProcessed!,
  if (partsTotal != null) 'partsTotal': partsTotal!,
  if (timeLeftMs != null) 'timeLeftMs': timeLeftMs!,
};