getHostName method

Future<String?> getHostName()

Retrieves the host name.

Implementation

Future<String?> getHostName() async {
  return await _methodChannel.invokeMethod("getHostName");
}