toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ShareStatus.notShared:
      return 'NOT_SHARED';
    case ShareStatus.sharedWithMe:
      return 'SHARED_WITH_ME';
    case ShareStatus.sharedByMe:
      return 'SHARED_BY_ME';
  }
}