opt method

TTClient opt(
  1. TTOptions options
)

Configure the TT client

@param options

Implementation

TTClient opt(TTOptions options) {
  if (options.logger != null) {
    _logger = options.logger!;
  }

  if (options.peers.isNotEmpty) {
    _wirePeers(options.peers);
  }

  return this;
}