toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ResourceOwner.self:
      return 'SELF';
    case ResourceOwner.otherAccounts:
      return 'OTHER_ACCOUNTS';
  }
}