colonSeparated property

String get colonSeparated

Implementation

String get colonSeparated => localPart == null || localPart!.isEmpty
    ? (prefix.isEmpty ? ':' : '$prefix:')
    : '${prefix.isEmpty ? '' : '$prefix'}:$localPart';