host property

String? get host

Retrieves the Host header.

Implementation

String? get host => header('host') ?? uri.host;