toJson method

Map<String, dynamic> toJson()

Implementation

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