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