createDiscoveryAction abstract method

BonsoirAction<BonsoirDiscoveryEvent> createDiscoveryAction(
  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> createDiscoveryAction(String type, {bool printLogs = kDebugMode});