encode static method
Implementation
static Map<String, dynamic> encode(RegimenItem value) {
Map<String, dynamic> entityAsMap = {
"date" : value.date,
"dayNumber" : value.dayNumber,
"weekday" : value.weekday == null ? null : Weekday.encode(value.weekday!),
"dayPeriod" : value.dayPeriod == null ? null : CodeStub.encode(value.dayPeriod!),
"timeOfDay" : value.timeOfDay,
"administratedQuantity" : value.administratedQuantity == null ? null : AdministrationQuantity.encode(value.administratedQuantity!)
};
return entityAsMap;
}