tryFindDeviceIp property

String? get tryFindDeviceIp

Try to find the device ip address in the ping command

Implementation

String? get tryFindDeviceIp => pingCommand.firstWhereOrNull(
      (element) => InternetAddress.tryParse(element) != null,
    );