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