addVisitor method
add visitor
return true if visitor is not exists
Implementation
bool addVisitor(FormeVisitor visitor) {
if (!_visitors.contains(visitor)) {
_visitors.add(visitor);
return true;
}
return false;
}
add visitor
return true if visitor is not exists
bool addVisitor(FormeVisitor visitor) {
if (!_visitors.contains(visitor)) {
_visitors.add(visitor);
return true;
}
return false;
}