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