localHostname property

String localHostname
final

The local hostname for the system.

For example: "mycomputer.corp.example.com" "mycomputer"

Uses the platform gethostname implementation.

Implementation

static final localHostname = _Platform.localHostname;