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