getWebMetaAppId function

String? getWebMetaAppId()

Returns the app id declared in the host page's <meta name="app-id"> tag.

Implementation

String? getWebMetaAppId() {
  final meta = web.document.querySelector('meta[name="app-id"]') as web.HTMLMetaElement?;
  return meta?.content;
}