encode static method

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

Implementation

static Map<String, dynamic> encode(AdministrationQuantity value) {
	Map<String, dynamic> entityAsMap = {
		"quantity" : value.quantity,
		"administrationUnit" : value.administrationUnit == null ? null : CodeStub.encode(value.administrationUnit!),
		"unit" : value.unit
	};
	return entityAsMap;
}