localHostname static method

String localHostname()

Implementation

static String localHostname() {
  try {
    return Platform.localHostname;
  } catch (e) {
    return "";
  }
}