encode static method

String encode(
  1. UsersStatus value
)

Implementation

static String encode(UsersStatus value) {
	switch (value) {
		case UsersStatus.active:
			return 'ACTIVE';
		case UsersStatus.disabled:
			return 'DISABLED';
		case UsersStatus.registering:
			return 'REGISTERING';
		}
}