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