getTab<T> method

T? getTab<T>()

Implementation

T? getTab<T>() {
  for (var tab in _tabs) {
    if (tab is T) {
      return tab as T;
    }
  }

  return null;
}