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