getFeature<T extends Feature> method

T? getFeature<T extends Feature>(
  1. String name
)

Returns the Feature with the given name.

Implementation

T? getFeature<T extends Feature>(String name) {
  return _features[name] as T?;
}