Gun constructor

Gun({
  1. List<String>? peers,
})

Create an instance of Gun, peers represent the list of gun relay to connect to.

Implementation

Gun({List<String>? peers}) {
  _gun = GunJsImpl(peers);
}