toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case NestingLevelValue.none:
      return 'none';
    case NestingLevelValue.one:
      return 'one';
  }
}