getBaseHref method Null safety

  1. @override
String? getBaseHref()
override

The base href where the Flutter app is being served.

See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base

Implementation

@override
String? getBaseHref() => getBaseElementHrefFromDom();