hasFeature method

bool hasFeature(
  1. String feature
)

Whether this peer advertises feature.

Implementation

bool hasFeature(String feature) => features.contains(feature);