init method

Future<void> init({
  1. List<String> bootstrapRelays = BOOTSTRAP_RELAYS,
})

This will initialize the manager with bootstrap relays. If you don't give any, will use some predefined

Implementation

Future<void> init({List<String> bootstrapRelays = BOOTSTRAP_RELAYS}) async {
  await Future.wait(bootstrapRelays.map((url) => connectRelay(url)).toList());
}