toJson method

Map<String, String> toJson()

Implementation

Map<String, String> toJson() {
  return {SchedulerConstants.from: from, SchedulerConstants.to: to};
}