toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (percentComplete != null) 'percentComplete': percentComplete!,
if (position != null) 'position': position!,
if (remainingTime != null) 'remainingTime': remainingTime!,
};