vmNotRespondingMessage function

String vmNotRespondingMessage(
  1. int? pid
)

User-facing message for VmNotRespondingException (no ERROR: prefix).

Implementation

String vmNotRespondingMessage(int? pid) {
  final alive = pid != null ? ' (pid $pid is alive)' : '';
  return 'App is not responding to the VM service$alive. It is most likely in '
      'the background and suspended by the OS (another app is in front). '
      'Bring it to the foreground, then retry.';
}