toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ShareMethod.organizations:
      return 'ORGANIZATIONS';
    case ShareMethod.handshake:
      return 'HANDSHAKE';
  }
}