localHostname property Null safety

String localHostname

The local hostname for the system.

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

Uses the platform gethostname implementation.

Implementation

static String get localHostname => _localHostname;