encode static method
Implementation
static Map<String, dynamic> encode(Renewal value) {
Map<String, dynamic> entityAsMap = {
"decimal" : value.decimal,
"duration" : value.duration == null ? null : Duration.encode(value.duration!)
};
return entityAsMap;
}