getBaseElementHrefFromDom function Null safety

String? getBaseElementHrefFromDom()

Returns the href attribute of the element in the document.

Returns null if the element isn't found.

Implementation

String? getBaseElementHrefFromDom() => _baseElement?.getAttribute('href');