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