vmServiceUriPattern top-level property

RegExp vmServiceUriPattern
final

Matches the two lines a flutter run log announces the VM Service on: Debug service listening on ws://... (web, via DWDS) and A Dart VM Service on <device> is available at: http://... (everything else).

Implementation

final RegExp vmServiceUriPattern = RegExp(
  r'(?:Debug service listening on|Dart VM Service on .+? is available at:?)'
  r'\s+(\S+)',
);