toJson method
Implementation
Map<String, dynamic> toJson() {
final continuous = this.continuous;
final oneTime = this.oneTime;
return {
if (continuous != null) 'continuous': continuous.toValue(),
if (oneTime != null) 'oneTime': oneTime.toValue(),
};
}