toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RangeMode.first:
      return 'FIRST';
    case RangeMode.last:
      return 'LAST';
    case RangeMode.lastBeforeMissingValues:
      return 'LAST_BEFORE_MISSING_VALUES';
    case RangeMode.inclusive:
      return 'INCLUSIVE';
    case RangeMode.exclusive:
      return 'EXCLUSIVE';
  }
}