toValue method
Implementation
String toValue() {
switch (this) {
case Type.canonicalUser:
return 'CanonicalUser';
case Type.amazonCustomerByEmail:
return 'AmazonCustomerByEmail';
case Type.group:
return 'Group';
}
}