ancestorCalling property
Implementation
@override
CallingBinding? get ancestorCalling {
Binding? result;
var ancestor = _parent;
while (ancestor != null && result == null && ancestor is! ServerBinding) {
if (ancestor is CallingBinding) {
result = ancestor;
break;
}
ancestor = ancestor._parent;
}
return result as CallingBinding?;
}