createDiscovery abstract method

BonsoirAction<BonsoirDiscoveryEvent> createDiscovery(
  1. String type, {
  2. bool printLogs = kDebugMode,
})

This method returns an initialized subclass of BonsoirAction holding the eventStreams and other state needed for the implementations.

Implementation

BonsoirAction<BonsoirDiscoveryEvent> createDiscovery(String type,
    {bool printLogs = kDebugMode});