encode static method

String encode(
  1. PartnershipStatus value
)

Implementation

static String encode(PartnershipStatus value) {
	switch (value) {
		case PartnershipStatus.active:
			return 'active';
		case PartnershipStatus.complicated:
			return 'complicated';
		case PartnershipStatus.past:
			return 'past';
		}
}