toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (planninfForAnyDoctor != null) {
    json[r'planninfForAnyDoctor'] = planninfForAnyDoctor;
  }
  if (planningForDelegate != null) {
    json[r'planningForDelegate'] = planningForDelegate;
  }
  if (planningForPatientDoctor != null) {
    json[r'planningForPatientDoctor'] = planningForPatientDoctor;
  }
  if (planningForMe != null) {
    json[r'planningForMe'] = planningForMe;
  }
  if (codedDelayInDays != null) {
    json[r'codedDelayInDays'] = codedDelayInDays;
  }
  if (repetitions != null) {
    json[r'repetitions'] = repetitions;
  }
  if (repetitionsUnit != null) {
    json[r'repetitionsUnit'] = repetitionsUnit;
  }
  if (descr != null) {
    json[r'descr'] = descr;
  }
  return json;
}