toString method

  1. @override
String toString()
override
Returns a

Implementation

@override
String toString() {
  if (!this.IsValid) {
    return "";
  } else if (!StringUtils.IsNullOrEmpty(this.RoutingType)) {
    return this.RoutingType! + ":" + this.Address!;
  } else {
    return this.Address!;
  }
}