rootLibraryUri property
String?
get
rootLibraryUri
Root library URI of the Flutter isolate, e.g. package:acme_pay/main.dart.
The package segment is the app's pubspec name — the surest "which app".
Implementation
String? get rootLibraryUri => _vm.flutterIsolate.rootLib?.uri;