encode static method

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

Implementation

static Map<String, dynamic> encode(Payment value) {
	Map<String, dynamic> entityAsMap = {
		"paymentDate" : value.paymentDate,
		"paymentType" : value.paymentType == null ? null : PaymentType.encode(value.paymentType!),
		"paid" : value.paid
	};
	return entityAsMap;
}