toJson method

Map<String, dynamic> toJson()

Implementation

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