hosts property

List<String> hosts
getter/setter pair

The primary hostname of the route. for example example.com. by default is it ['*'] to match all hostnames. If using example.com, it will match only the example.com hostname. otherwise, it will match all hostnames that are set.

Implementation

late List<String> hosts;