TestClient constructor

TestClient({
  1. String host = 'localhost',
  2. int port = 8282,
})

Creates instance of TestClient.

Implementation

TestClient({
  this.host = 'localhost',
  this.port = 8282,
})  : assert(host.isNotEmpty, 'host cannot be empty'),
      assert(port != 0, 'port cannot be 0.');