removeChildrenOfExactType method

void removeChildrenOfExactType(
  1. Type T
)

Implementation

void removeChildrenOfExactType(Type T) =>
    children?.removeWhere((child) => (child.runtimeType == (T)));