parent property Null safety
Implementation
WebElement? get parent {
final parentId = _parentId;
if (parentId == null) {
return null;
}
return WebElement(
driver,
_client,
_handler,
parentId,
);
}
WebElement? get parent {
final parentId = _parentId;
if (parentId == null) {
return null;
}
return WebElement(
driver,
_client,
_handler,
parentId,
);
}