Cluster.http constructor

Cluster.http(
  1. String host, {
  2. int? port,
})

Creates a HTTP RPC URL for host.

Implementation

factory Cluster.http(
  final String host, {
  final int? port,
}) =>
    Cluster(Uri(scheme: 'http', host: host, port: port));