toTokenizer property

String get toTokenizer

Converts the essential details of the Seed instance into a raw string.

This method returns an unprocessed string by combining the IP address and port number, following the format "ip:port".

Example:

Seed seed = Seed(ip: "192.168.0.1", port: 8080);
print(seed.toTokenizer()); // Output: "192.168.0.1:8080"

Returns: An unprocessed raw string representing the IP address and port.

Implementation

String get toTokenizer => "$ip:$port";