Google celebrates Hispanic Heritage Month. See how.

getVmServicePort function

*[<Null safety>](https://dart.dev/null-safety)*

String? getVmServicePort ()

Implementation

String? getVmServicePort() {
  List<FileSystemEntity> files;
  try {
    files = Directory('/tmp/dart.services').listSync();
  } on FileSystemException {
    return null;
  }
  return files.isEmpty ? null : files.first.path.split('/').last;
}