removeConnectionWhere method
removeConnectionWhere
Removes all connections that satisfy the given condition.
Implementation
void removeConnectionWhere(bool Function(EdgeConnectionsModel<E>) test) {
_notifier.value = data.copyWith(
connections: data.connections.where((e) => !test(e)).toList(),
);
}