suffix method

String suffix()

Convert non empty strings to lowercase and append "dots" to the beginning of the string. For example, converting "Com" to ".com"

Implementation

String suffix() => isNotEmpty ? '.${toLowerCase()}' : '';