encode static method

String encode(
  1. Laterality value
)

Implementation

static String encode(Laterality value) {
	switch (value) {
		case Laterality.left:
			return 'left';
		case Laterality.right:
			return 'right';
		}
}