toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final onDemand = this.onDemand;
final oneTime = this.oneTime;
final schedule = this.schedule;
return {'onDemand': ?onDemand, 'oneTime': ?oneTime, 'schedule': ?schedule};
}