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