toJson method
Implementation
Map<String, dynamic> toJson() {
return <String, dynamic>{
if (checkpoints != null) r'checkpoints': checkpoints,
if (progression != null) r'progression': progression,
if (state != null) r'state': state,
if (time != null) r'time': time,
};
}