toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ImageType.owned:
      return 'OWNED';
    case ImageType.shared:
      return 'SHARED';
  }
}