encode static method

String encode(
  1. ShareMetadataBehaviour value
)

Implementation

static String encode(ShareMetadataBehaviour value) {
	switch (value) {
		case ShareMetadataBehaviour.required:
			return 'REQUIRED';
		case ShareMetadataBehaviour.ifAvailable:
			return 'IF_AVAILABLE';
		case ShareMetadataBehaviour.never:
			return 'NEVER';
		}
}