toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Ownership.self:
      return 'Self';
    case Ownership.shared:
      return 'Shared';
    case Ownership.amazon:
      return 'Amazon';
  }
}