toValue method
Implementation
String toValue() {
switch (this) {
case MemberPermissions.readWrite:
return 'read-write';
case MemberPermissions.readOnly:
return 'read-only';
}
}
String toValue() {
switch (this) {
case MemberPermissions.readWrite:
return 'read-write';
case MemberPermissions.readOnly:
return 'read-only';
}
}