feature property

T get feature

Implementation

T get feature {
  assert(
      _attached != null && _attached!.feature is T, 'Feature not attached');
  return _attached!.feature as T;
}