visibility property
Gets the current visibility according to the TLP protocol.
@return the current visibility
Implementation
@override
Visibility get visibility {
var rawVisibility = _ordinals[Field.visibility];
return VisibilityExtension.valueOf(rawVisibility!) ?? Visibility.red;
}
Sets the visibility of the node.
@param newVisibility the new visibility @return the visibility set previously
Implementation
@override
set visibility(Visibility newVisibility) {
touch();
_ordinals[Field.visibility] = newVisibility.toValueString();
}