Cluster.custom constructor

Cluster.custom([
  1. String? domain,
  2. bool secure = false
])

Creates custom endpoints.

The default domain is localhost:8899.

Implementation

factory Cluster.custom([final String? domain, final bool secure = false]) {
  return Cluster._(domain ?? 'localhost:8899', secure);
}