domain property

String? domain

Returns the registrable domain part of the URL, based on both ICANN/IANA and private rules.

The registrable domain is the public suffix and one preceding label. For example, images.google.co.uk has the registrable domain google.co.uk.

Implementation

String? get domain => _domain;