Function Domain.fromSafeString
Construct an instance of a Domain
from a previously validated string
This method will use v
as the string stored in the domain,
after validating it. Failing validation is a programming error.
As a result, this method does not allocate.
Note that domains always end with a '.', and cannot be empty.
Parameters
Name | Description |
---|---|
v | The string to store in the Domain |