createDiscovery method
This method returns an initialized subclass of BonsoirAction holding the eventStreams and other state needed for the implementations.
Implementation
@override
BonsoirAction<BonsoirDiscoveryEvent> createDiscovery(String type,
{bool printLogs = kDebugMode}) {
return BonsoirDiscoveryAction(type: type, printLogs: printLogs);
}