toValue method

String toValue()

Implementation

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