addPeers method

Gun addPeers(
  1. List<String> peers
)

Change the configuration of the gun database instance.

Implementation

Gun addPeers(List<String> peers) {
  final opt = dartToJs({'peers': peers});
  final gun = _gun.opt(opt);
  return Gun._(gun);
}