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