toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'frequency': frequency?.index,
      'ocurrences': ocurrences,
      'endDate': endDate?.millisecondsSinceEpoch,
      'interval': interval,
      'rRule': rRule,
    };