toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SubResourceType.ip:
      return 'IP';
    case SubResourceType.url:
      return 'URL';
  }
}