encode static method

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

Implementation

static Map<String, dynamic> encode(Suspension value) {
	Map<String, dynamic> entityAsMap = {
		"beginMoment" : value.beginMoment,
		"endMoment" : value.endMoment,
		"suspensionReason" : value.suspensionReason,
		"lifecycle" : value.lifecycle
	};
	return entityAsMap;
}