isFeatureSupported method

bool isFeatureSupported(
  1. ApiFeature feature
)

Check if given feature is supported by api.

Implementation

bool isFeatureSupported(ApiFeature feature) {
  return feature.allows(_version);
}