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