doc property
dynamic
doc
inherited
Returns Document
or DocumentFragment
, based on what parser was used
with the BeautifulSoup constructor.
This should not be used publicly along with setter.
Can return null.
Implementation
dynamic get doc => _doc ?? _docFragment;
void
doc=(dynamic value)
inherited
Implementation
set doc(dynamic value) {
if (value is Document) {
_doc = value;
_docFragment = null;
} else {
_docFragment = value;
_doc = null;
}
}