toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Scope.task:
      return 'task';
    case Scope.shared:
      return 'shared';
  }
}