encode static method

Map<String, dynamic> encode(
  1. Renewal value
)

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;
}