toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case JQStatus.creating:
      return 'CREATING';
    case JQStatus.updating:
      return 'UPDATING';
    case JQStatus.deleting:
      return 'DELETING';
    case JQStatus.deleted:
      return 'DELETED';
    case JQStatus.valid:
      return 'VALID';
    case JQStatus.invalid:
      return 'INVALID';
  }
}