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