encode static method

String encode(
  1. DocumentLocation value
)

Implementation

static String encode(DocumentLocation value) {
	switch (value) {
		case DocumentLocation.annex:
			return 'annex';
		case DocumentLocation.body:
			return 'body';
		}
}