encode static method

String encode(
  1. HealthcarePartyStatus value
)

Implementation

static String encode(HealthcarePartyStatus value) {
	switch (value) {
		case HealthcarePartyStatus.trainee:
			return 'trainee';
		case HealthcarePartyStatus.withconvention:
			return 'withconvention';
		case HealthcarePartyStatus.accreditated:
			return 'accreditated';
		}
}