toValue method
Implementation
String toValue() {
switch (this) {
case TrustDirection.oneWayOutgoing:
return 'One-Way: Outgoing';
case TrustDirection.oneWayIncoming:
return 'One-Way: Incoming';
case TrustDirection.twoWay:
return 'Two-Way';
}
}