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