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