CINXE.COM

LinkedHashSet class - dart:collection library - Dart API

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no"> <meta name="description" content="API docs for the LinkedHashSet class from the dart:collection library, for the Dart programming language."> <title>LinkedHashSet class - dart:collection library - Dart API</title> <link rel="canonical" href="https://api.dart.dev/dart-collection/LinkedHashSet-class.html"> <link rel="preconnect" href="https://fonts.gstatic.com"> <link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" rel="stylesheet"> <link rel="stylesheet" href="../static-assets/github.css?v1"> <link rel="stylesheet" href="../static-assets/styles.css?v1"> <link rel="icon" href="../static-assets/favicon.png?v1"> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-VVQ8908SJ5"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-VVQ8908SJ5'); </script> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preload" href="https://fonts.googleapis.com/css2?family=Google+Sans+Text:wght@400&family=Google+Sans:wght@500&display=swap" as="style"> <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Google+Sans+Text:wght@400&family=Google+Sans:wght@500&display=swap"> <link rel="stylesheet" href="https://www.gstatic.com/glue/cookienotificationbar/cookienotificationbar.min.css"> </head> <body data-base-href="../" data-using-base-href="false" class="light-theme"> <div id="overlay-under-drawer"></div> <header id="title"> <span id="sidenav-left-toggle" class="material-symbols-outlined" role="button" tabindex="0">menu</span> <ol class="breadcrumbs gt-separated dark hidden-xs"> <li><a href="../index.html">Dart</a></li> <li><a href="../dart-collection">dart:collection</a></li> <li class="self-crumb">LinkedHashSet<span class="signature">&lt;<wbr><span class="type-parameter">E</span>&gt;</span> class</li> </ol> <div class="self-name">LinkedHashSet</div> <form class="search navbar-right" role="search"> <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search..."> </form> <div class="toggle" id="theme-button" title="Toggle brightness"> <label for="theme"> <input type="checkbox" id="theme" value="light-theme"> <span id="dark-theme-button" class="material-symbols-outlined"> dark_mode </span> <span id="light-theme-button" class="material-symbols-outlined"> light_mode </span> </label> </div> </header> <main> <div id="dartdoc-main-content" class="main-content" data-above-sidebar="dart-collection&#47;dart-collection-library-sidebar.html" data-below-sidebar="dart-collection&#47;LinkedHashSet-class-sidebar.html"> <div> <div id="external-links" class="btn-group"><a title="View source code" class="source-link" href="https://github.com/dart-lang/sdk/blob/a8bfb132c5f7b9555d13ea79eaf0eaa77825824d/sdk/lib/collection/linked_hash_set.dart#L106"><span class="material-symbols-outlined">description</span></a></div> <h1><span class="kind-class">LinkedHashSet&lt;<wbr><span class="type-parameter">E</span>&gt;</span> class <a href="https://dart.dev/language/class-modifiers#abstract" class="feature feature-abstract" title="This type can not be directly constructed.">abstract</a> <a href="https://dart.dev/language/class-modifiers#final" class="feature feature-final" title="This class can neither be extended, implemented, nor mixed in.">final</a> </h1></div> <section class="desc markdown"> <p>A <a href="../dart-collection/LinkedHashSet-class.html">LinkedHashSet</a> is a hash-table based <a href="../dart-core/Set-class.html">Set</a> implementation.</p> <p>The default implementation of <a href="../dart-core/Set-class.html">Set</a> is <a href="../dart-collection/LinkedHashSet-class.html">LinkedHashSet</a>.</p> <p>The <code>LinkedHashSet</code> also keeps track of the order that elements were inserted in, and iteration happens in first-to-last insertion order.</p> <p>The elements of a <code>LinkedHashSet</code> must have consistent <a href="../dart-core/Object/operator_equals.html">Object.==</a> and <a href="../dart-core/Object/hashCode.html">Object.hashCode</a> implementations. This means that the <code>==</code> operator must define a stable equivalence relation on the elements (reflexive, symmetric, transitive, and consistent over time), and that <code>hashCode</code> must be the same for objects that are considered equal by <code>==</code>.</p> <p>Iteration of elements is done in element insertion order. An element that was added after another will occur later in the iteration. Adding an element that is already in the set does not change its position in the iteration order, but removing an element and adding it again will make it the last element of an iteration.</p> <p>Most simple operations on <code>HashSet</code> are done in (potentially amortized) constant time: <a href="../dart-core/Set/add.html">add</a>, <a href="../dart-core/Set/contains.html">contains</a>, <a href="../dart-core/Set/remove.html">remove</a>, and <a href="../dart-core/Iterable/length.html">length</a>, provided the hash codes of objects are well distributed.</p> <p><strong>Note:</strong> Do not modify a set (add or remove elements) while an operation is being performed on that set, for example in functions called during a <a href="../dart-collection/LinkedHashSet/forEach.html">forEach</a> or <a href="../dart-core/Set/containsAll.html">containsAll</a> call, or while iterating the set.</p> <p>Do not modify elements in a way which changes their equality (and thus their hash code) while they are in the set. Some specialized kinds of sets may be more permissive with regards to equality, in which case they should document their different behavior and restrictions.</p> <p>Example:</p> <pre class="language-dart"><code class="language-dart">final planets = &lt;String&gt;{}; // LinkedHashSet </code></pre> <p>To add data to a set, use <a href="../dart-core/Set/add.html">add</a> or <a href="../dart-core/Set/addAll.html">addAll</a>.</p> <pre class="language-dart"><code class="language-dart">final uranusAdded = planets.add('Uranus'); // true planets.addAll({'Venus', 'Mars', 'Earth', 'Jupiter'}); print(planets); // {Uranus, Venus, Mars, Earth, Jupiter} </code></pre> <p>To check if the set is empty, use <a href="../dart-core/Iterable/isEmpty.html">isEmpty</a> or <a href="../dart-core/Iterable/isNotEmpty.html">isNotEmpty</a>. To find the number of elements in the set, use <a href="../dart-core/Iterable/length.html">length</a>.</p> <pre class="language-dart"><code class="language-dart">print(planets.isEmpty); // false print(planets.length); // 5 </code></pre> <p>To check whether the set has an element with a specific value, use <a href="../dart-core/Set/contains.html">contains</a>.</p> <pre class="language-dart"><code class="language-dart">final marsExists = planets.contains('Mars'); // true </code></pre> <p>The <a href="../dart-collection/LinkedHashSet/forEach.html">forEach</a> method calls a function with each element of the set.</p> <pre class="language-dart"><code class="language-dart">planets.forEach(print); // Uranus // Venus // Mars // Earth // Jupiter </code></pre> <p>To make a copy of the set, use <a href="../dart-core/Set/toSet.html">toSet</a>.</p> <pre class="language-dart"><code class="language-dart">final copySet = planets.toSet(); print(copySet); // {Uranus, Venus, Mars, Earth, Jupiter} </code></pre> <p>To remove an element, use <a href="../dart-core/Set/remove.html">remove</a>.</p> <pre class="language-dart"><code class="language-dart">final removedValue = planets.remove('Mars'); // Mars print(planets); // {Uranus, Venus, Earth, Jupiter} </code></pre> <p>To remove multiple elements at the same time, use <a href="../dart-core/Set/removeWhere.html">removeWhere</a> or <a href="../dart-core/Set/removeAll.html">removeAll</a>.</p> <pre class="language-dart"><code class="language-dart">planets.removeWhere((element) =&gt; element.startsWith('E')); print(planets); // {Uranus, Venus, Jupiter} </code></pre> <p>To removes all elements in this set that do not meet a condition, use <a href="../dart-core/Set/retainWhere.html">retainWhere</a>.</p> <pre class="language-dart"><code class="language-dart">planets.retainWhere((element) =&gt; element.contains('Jupiter')); print(planets); // {Jupiter} ```dart continued To remove all elements and empty the set, use [clear]. ```dart continued planets.clear(); print(planets.isEmpty); // true print(planets); // {} </code></pre> <p><strong>See also:</strong></p> <ul> <li><a href="../dart-core/Set-class.html">Set</a> is the general interface of collection where each object can occur only once.</li> <li><a href="../dart-collection/HashSet-class.html">HashSet</a> the order of the objects in the iteration is not guaranteed.</li> <li><a href="../dart-collection/SplayTreeSet-class.html">SplayTreeSet</a> iterates the objects in sorted order.</li> </ul> </section> <section> <dl class="dl-horizontal"> <dt>Implemented types</dt> <dd> <ul class="comma-separated clazz-relationships"> <li><a href="../dart-core/Set-class.html">Set</a><span class="signature">&lt;<wbr><span class="type-parameter">E</span>&gt;</span></li> </ul> </dd> <dt>Available extensions</dt> <dd><ul class="comma-separated clazz-relationships"> <li><a href="../dart-core/EnumByName.html">EnumByName</a></li> <li><a href="../dart-async/FutureIterable.html">FutureIterable</a></li> <li><a href="../dart-collection/IterableExtensions.html">IterableExtensions</a></li> <li><a href="../dart-collection/NullableIterableExtensions.html">NullableIterableExtensions</a></li> </ul></dd> </dl> </section> <section class="summary offset-anchor" id="constructors"> <h2>Constructors</h2> <dl class="constructor-summary-list"> <dt id="LinkedHashSet" class="callable"> <span class="name"><a href="../dart-collection/LinkedHashSet/LinkedHashSet.html">LinkedHashSet</a></span><span class="signature">({<span class="parameter" id="-param-equals"><span class="type-annotation"><a href="../dart-core/bool-class.html">bool</a></span> <span class="parameter-name">equals</span>(<span class="parameter" id="param-"><span class="type-annotation">E</span>, </span><span class="parameter" id="param-"><span class="type-annotation">E</span></span>)?, </span><span class="parameter" id="-param-hashCode"><span class="type-annotation"><a href="../dart-core/int-class.html">int</a></span> <span class="parameter-name">hashCode</span>(<span class="parameter" id="param-"><span class="type-annotation">E</span></span>)?, </span><span class="parameter" id="-param-isValidKey"><span class="type-annotation"><a href="../dart-core/bool-class.html">bool</a></span> <span class="parameter-name">isValidKey</span>(<span class="parameter" id="param-"><span class="type-annotation">dynamic</span></span>)?</span>})</span> </dt> <dd> Create an insertion-ordered hash set using the provided <code>equals</code> and <code>hashCode</code>. <div class="constructor-modifier features">factory</div> </dd> <dt id="LinkedHashSet.from" class="callable"> <span class="name"><a href="../dart-collection/LinkedHashSet/LinkedHashSet.from.html">LinkedHashSet.from</a></span><span class="signature">(<span class="parameter" id="from-param-elements"><span class="type-annotation"><a href="../dart-core/Iterable-class.html">Iterable</a></span> <span class="parameter-name">elements</span></span>)</span> </dt> <dd> Create a linked hash set containing all <code>elements</code>. <div class="constructor-modifier features">factory</div> </dd> <dt id="LinkedHashSet.identity" class="callable"> <span class="name"><a href="../dart-collection/LinkedHashSet/LinkedHashSet.identity.html">LinkedHashSet.identity</a></span><span class="signature">()</span> </dt> <dd> Creates an insertion-ordered identity-based set. <div class="constructor-modifier features">factory</div> </dd> <dt id="LinkedHashSet.of" class="callable"> <span class="name"><a href="../dart-collection/LinkedHashSet/LinkedHashSet.of.html">LinkedHashSet.of</a></span><span class="signature">(<span class="parameter" id="of-param-elements"><span class="type-annotation"><a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">E</span>&gt;</span></span> <span class="parameter-name">elements</span></span>)</span> </dt> <dd> Create a linked hash set from <code>elements</code>. <div class="constructor-modifier features">factory</div> </dd> </dl> </section> <section class="summary offset-anchor" id="instance-properties"> <h2>Properties</h2> <dl class="properties"> <dt id="first" class="property inherited"> <span class="name"><a href="../dart-core/Iterable/first.html">first</a></span> <span class="signature">&#8594; E</span> </dt> <dd class="inherited"> The first element. <div class="features"><span class="feature">no setter</span><span class="feature">inherited</span></div> </dd> <dt id="firstOrNull" class="property"> <span class="name"><a href="../dart-collection/IterableExtensions/firstOrNull.html">firstOrNull</a></span> <span class="signature">&#8594; T?</span> </dt> <dd> <p class="from-extension"> <span>Available on <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span>, provided by the <a href="../dart-collection/IterableExtensions.html">IterableExtensions</a> extension</span> </p> The first element of this iterator, or <code>null</code> if the iterable is empty. <div class="features"><span class="feature">no setter</span></div> </dd> <dt id="hashCode" class="property inherited"> <span class="name"><a href="../dart-core/Object/hashCode.html">hashCode</a></span> <span class="signature">&#8594; <a href="../dart-core/int-class.html">int</a></span> </dt> <dd class="inherited"> The hash code for this object. <div class="features"><span class="feature">no setter</span><span class="feature">inherited</span></div> </dd> <dt id="indexed" class="property"> <span class="name"><a href="../dart-collection/IterableExtensions/indexed.html">indexed</a></span> <span class="signature">&#8594; <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">(<span class="field"><span class="type-annotation"><a href="../dart-core/int-class.html">int</a></span>, </span><span class="field"><span class="type-annotation">T</span></span>)</span>&gt;</span></span> </dt> <dd> <p class="from-extension"> <span>Available on <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span>, provided by the <a href="../dart-collection/IterableExtensions.html">IterableExtensions</a> extension</span> </p> Pairs of elements of the indices and elements of this iterable. <div class="features"><span class="feature">no setter</span></div> </dd> <dt id="isEmpty" class="property inherited"> <span class="name"><a href="../dart-core/Iterable/isEmpty.html">isEmpty</a></span> <span class="signature">&#8594; <a href="../dart-core/bool-class.html">bool</a></span> </dt> <dd class="inherited"> Whether this collection has no elements. <div class="features"><span class="feature">no setter</span><span class="feature">inherited</span></div> </dd> <dt id="isNotEmpty" class="property inherited"> <span class="name"><a href="../dart-core/Iterable/isNotEmpty.html">isNotEmpty</a></span> <span class="signature">&#8594; <a href="../dart-core/bool-class.html">bool</a></span> </dt> <dd class="inherited"> Whether this collection has at least one element. <div class="features"><span class="feature">no setter</span><span class="feature">inherited</span></div> </dd> <dt id="iterator" class="property"> <span class="name"><a href="../dart-collection/LinkedHashSet/iterator.html">iterator</a></span> <span class="signature">&#8594; <a href="../dart-core/Iterator-class.html">Iterator</a><span class="signature">&lt;<wbr><span class="type-parameter">E</span>&gt;</span></span> </dt> <dd> Provides an iterator that iterates over the elements in insertion order. <div class="features"><span class="feature">no setter</span><span class="feature">override</span></div> </dd> <dt id="last" class="property inherited"> <span class="name"><a href="../dart-core/Iterable/last.html">last</a></span> <span class="signature">&#8594; E</span> </dt> <dd class="inherited"> The last element. <div class="features"><span class="feature">no setter</span><span class="feature">inherited</span></div> </dd> <dt id="lastOrNull" class="property"> <span class="name"><a href="../dart-collection/IterableExtensions/lastOrNull.html">lastOrNull</a></span> <span class="signature">&#8594; T?</span> </dt> <dd> <p class="from-extension"> <span>Available on <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span>, provided by the <a href="../dart-collection/IterableExtensions.html">IterableExtensions</a> extension</span> </p> The last element of this iterable, or <code>null</code> if the iterable is empty. <div class="features"><span class="feature">no setter</span></div> </dd> <dt id="length" class="property inherited"> <span class="name"><a href="../dart-core/Iterable/length.html">length</a></span> <span class="signature">&#8594; <a href="../dart-core/int-class.html">int</a></span> </dt> <dd class="inherited"> The number of elements in this <a href="../dart-core/Iterable-class.html">Iterable</a>. <div class="features"><span class="feature">no setter</span><span class="feature">inherited</span></div> </dd> <dt id="nonNulls" class="property"> <span class="name"><a href="../dart-collection/NullableIterableExtensions/nonNulls.html">nonNulls</a></span> <span class="signature">&#8594; <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span></span> </dt> <dd> <p class="from-extension"> <span>Available on <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">T?</span>&gt;</span>, provided by the <a href="../dart-collection/NullableIterableExtensions.html">NullableIterableExtensions</a> extension</span> </p> The non-<code>null</code> elements of this iterable. <div class="features"><span class="feature">no setter</span></div> </dd> <dt id="runtimeType" class="property inherited"> <span class="name"><a href="../dart-core/Object/runtimeType.html">runtimeType</a></span> <span class="signature">&#8594; <a href="../dart-core/Type-class.html">Type</a></span> </dt> <dd class="inherited"> A representation of the runtime type of the object. <div class="features"><span class="feature">no setter</span><span class="feature">inherited</span></div> </dd> <dt id="single" class="property inherited"> <span class="name"><a href="../dart-core/Iterable/single.html">single</a></span> <span class="signature">&#8594; E</span> </dt> <dd class="inherited"> Checks that this iterable has only one element, and returns that element. <div class="features"><span class="feature">no setter</span><span class="feature">inherited</span></div> </dd> <dt id="singleOrNull" class="property"> <span class="name"><a href="../dart-collection/IterableExtensions/singleOrNull.html">singleOrNull</a></span> <span class="signature">&#8594; T?</span> </dt> <dd> <p class="from-extension"> <span>Available on <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span>, provided by the <a href="../dart-collection/IterableExtensions.html">IterableExtensions</a> extension</span> </p> The single element of this iterator, or <code>null</code>. <div class="features"><span class="feature">no setter</span></div> </dd> <dt id="wait" class="property"> <span class="name"><a href="../dart-async/FutureIterable/wait.html">wait</a></span> <span class="signature">&#8594; <a href="../dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span></span>&gt;</span></span> </dt> <dd> <p class="from-extension"> <span>Available on <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span></span>&gt;</span>, provided by the <a href="../dart-async/FutureIterable.html">FutureIterable</a> extension</span> </p> Waits for futures in parallel. <div class="features"><span class="feature">no setter</span></div> </dd> </dl> </section> <section class="summary offset-anchor" id="instance-methods"> <h2>Methods</h2> <dl class="callables"> <dt id="add" class="callable inherited"> <span class="name"><a href="../dart-core/Set/add.html">add</a></span><span class="signature">(<wbr><span class="parameter" id="add-param-value"><span class="type-annotation">E</span> <span class="parameter-name">value</span></span>) <span class="returntype parameter">&#8594; <a href="../dart-core/bool-class.html">bool</a></span> </span> </dt> <dd class="inherited"> Adds <code>value</code> to the set. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="addAll" class="callable inherited"> <span class="name"><a href="../dart-core/Set/addAll.html">addAll</a></span><span class="signature">(<wbr><span class="parameter" id="addAll-param-elements"><span class="type-annotation"><a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">E</span>&gt;</span></span> <span class="parameter-name">elements</span></span>) <span class="returntype parameter">&#8594; void</span> </span> </dt> <dd class="inherited"> Adds all <code>elements</code> to this set. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="any" class="callable inherited"> <span class="name"><a href="../dart-core/Iterable/any.html">any</a></span><span class="signature">(<wbr><span class="parameter" id="any-param-test"><span class="type-annotation"><a href="../dart-core/bool-class.html">bool</a></span> <span class="parameter-name">test</span>(<span class="parameter" id="param-element"><span class="type-annotation">E</span> <span class="parameter-name">element</span></span>)</span>) <span class="returntype parameter">&#8594; <a href="../dart-core/bool-class.html">bool</a></span> </span> </dt> <dd class="inherited"> Checks whether any element of this iterable satisfies <code>test</code>. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="asNameMap" class="callable"> <span class="name"><a href="../dart-core/EnumByName/asNameMap.html">asNameMap</a></span><span class="signature">(<wbr>) <span class="returntype parameter">&#8594; <a href="../dart-core/Map-class.html">Map</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../dart-core/String-class.html">String</a></span>, <span class="type-parameter">T</span>&gt;</span></span> </span> </dt> <dd> <p class="from-extension"> <span>Available on <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span>, provided by the <a href="../dart-core/EnumByName.html">EnumByName</a> extension</span> </p> Creates a map from the names of enum values to the values. </dd> <dt id="byName" class="callable"> <span class="name"><a href="../dart-core/EnumByName/byName.html">byName</a></span><span class="signature">(<wbr><span class="parameter" id="byName-param-name"><span class="type-annotation"><a href="../dart-core/String-class.html">String</a></span> <span class="parameter-name">name</span></span>) <span class="returntype parameter">&#8594; T</span> </span> </dt> <dd> <p class="from-extension"> <span>Available on <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span>, provided by the <a href="../dart-core/EnumByName.html">EnumByName</a> extension</span> </p> Finds the enum value in this list with name <code>name</code>. </dd> <dt id="cast" class="callable inherited"> <span class="name"><a href="../dart-core/Set/cast.html">cast</a></span><span class="signature">&lt;<wbr><span class="type-parameter">R</span>&gt;</span><span class="signature">(<wbr>) <span class="returntype parameter">&#8594; <a href="../dart-core/Set-class.html">Set</a><span class="signature">&lt;<wbr><span class="type-parameter">R</span>&gt;</span></span> </span> </dt> <dd class="inherited"> Provides a view of this set as a set of <code>R</code> instances. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="clear" class="callable inherited"> <span class="name"><a href="../dart-core/Set/clear.html">clear</a></span><span class="signature">(<wbr>) <span class="returntype parameter">&#8594; void</span> </span> </dt> <dd class="inherited"> Removes all elements from the set. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="contains" class="callable inherited"> <span class="name"><a href="../dart-core/Set/contains.html">contains</a></span><span class="signature">(<wbr><span class="parameter" id="contains-param-value"><span class="type-annotation"><a href="../dart-core/Object-class.html">Object</a>?</span> <span class="parameter-name">value</span></span>) <span class="returntype parameter">&#8594; <a href="../dart-core/bool-class.html">bool</a></span> </span> </dt> <dd class="inherited"> Whether <code>value</code> is in the set. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="containsAll" class="callable inherited"> <span class="name"><a href="../dart-core/Set/containsAll.html">containsAll</a></span><span class="signature">(<wbr><span class="parameter" id="containsAll-param-other"><span class="type-annotation"><a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../dart-core/Object-class.html">Object</a>?</span>&gt;</span></span> <span class="parameter-name">other</span></span>) <span class="returntype parameter">&#8594; <a href="../dart-core/bool-class.html">bool</a></span> </span> </dt> <dd class="inherited"> Whether this set contains all the elements of <code>other</code>. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="difference" class="callable inherited"> <span class="name"><a href="../dart-core/Set/difference.html">difference</a></span><span class="signature">(<wbr><span class="parameter" id="difference-param-other"><span class="type-annotation"><a href="../dart-core/Set-class.html">Set</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../dart-core/Object-class.html">Object</a>?</span>&gt;</span></span> <span class="parameter-name">other</span></span>) <span class="returntype parameter">&#8594; <a href="../dart-core/Set-class.html">Set</a><span class="signature">&lt;<wbr><span class="type-parameter">E</span>&gt;</span></span> </span> </dt> <dd class="inherited"> Creates a new set with the elements of this that are not in <code>other</code>. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="elementAt" class="callable inherited"> <span class="name"><a href="../dart-core/Iterable/elementAt.html">elementAt</a></span><span class="signature">(<wbr><span class="parameter" id="elementAt-param-index"><span class="type-annotation"><a href="../dart-core/int-class.html">int</a></span> <span class="parameter-name">index</span></span>) <span class="returntype parameter">&#8594; E</span> </span> </dt> <dd class="inherited"> Returns the <code>index</code>th element. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="elementAtOrNull" class="callable"> <span class="name"><a href="../dart-collection/IterableExtensions/elementAtOrNull.html">elementAtOrNull</a></span><span class="signature">(<wbr><span class="parameter" id="elementAtOrNull-param-index"><span class="type-annotation"><a href="../dart-core/int-class.html">int</a></span> <span class="parameter-name">index</span></span>) <span class="returntype parameter">&#8594; T?</span> </span> </dt> <dd> <p class="from-extension"> <span>Available on <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span>, provided by the <a href="../dart-collection/IterableExtensions.html">IterableExtensions</a> extension</span> </p> The element at position <code>index</code> of this iterable, or <code>null</code>. </dd> <dt id="every" class="callable inherited"> <span class="name"><a href="../dart-core/Iterable/every.html">every</a></span><span class="signature">(<wbr><span class="parameter" id="every-param-test"><span class="type-annotation"><a href="../dart-core/bool-class.html">bool</a></span> <span class="parameter-name">test</span>(<span class="parameter" id="param-element"><span class="type-annotation">E</span> <span class="parameter-name">element</span></span>)</span>) <span class="returntype parameter">&#8594; <a href="../dart-core/bool-class.html">bool</a></span> </span> </dt> <dd class="inherited"> Checks whether every element of this iterable satisfies <code>test</code>. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="expand" class="callable inherited"> <span class="name"><a href="../dart-core/Iterable/expand.html">expand</a></span><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span><span class="signature">(<wbr><span class="parameter" id="expand-param-toElements"><span class="type-annotation"><a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span></span> <span class="parameter-name">toElements</span>(<span class="parameter" id="param-element"><span class="type-annotation">E</span> <span class="parameter-name">element</span></span>)</span>) <span class="returntype parameter">&#8594; <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span></span> </span> </dt> <dd class="inherited"> Expands each element of this <a href="../dart-core/Iterable-class.html">Iterable</a> into zero or more elements. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="firstWhere" class="callable inherited"> <span class="name"><a href="../dart-core/Iterable/firstWhere.html">firstWhere</a></span><span class="signature">(<wbr><span class="parameter" id="firstWhere-param-test"><span class="type-annotation"><a href="../dart-core/bool-class.html">bool</a></span> <span class="parameter-name">test</span>(<span class="parameter" id="param-element"><span class="type-annotation">E</span> <span class="parameter-name">element</span></span>), {</span><span class="parameter" id="firstWhere-param-orElse"><span class="type-annotation">E</span> <span class="parameter-name">orElse</span>()?</span>}) <span class="returntype parameter">&#8594; E</span> </span> </dt> <dd class="inherited"> The first element that satisfies the given predicate <code>test</code>. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="fold" class="callable inherited"> <span class="name"><a href="../dart-core/Iterable/fold.html">fold</a></span><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span><span class="signature">(<wbr><span class="parameter" id="fold-param-initialValue"><span class="type-annotation">T</span> <span class="parameter-name">initialValue</span>, </span><span class="parameter" id="fold-param-combine"><span class="type-annotation">T</span> <span class="parameter-name">combine</span>(<span class="parameter" id="param-previousValue"><span class="type-annotation">T</span> <span class="parameter-name">previousValue</span>, </span><span class="parameter" id="param-element"><span class="type-annotation">E</span> <span class="parameter-name">element</span></span>)</span>) <span class="returntype parameter">&#8594; T</span> </span> </dt> <dd class="inherited"> Reduces a collection to a single value by iteratively combining each element of the collection with an existing value <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="followedBy" class="callable inherited"> <span class="name"><a href="../dart-core/Iterable/followedBy.html">followedBy</a></span><span class="signature">(<wbr><span class="parameter" id="followedBy-param-other"><span class="type-annotation"><a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">E</span>&gt;</span></span> <span class="parameter-name">other</span></span>) <span class="returntype parameter">&#8594; <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">E</span>&gt;</span></span> </span> </dt> <dd class="inherited"> Creates the lazy concatenation of this iterable and <code>other</code>. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="forEach" class="callable"> <span class="name"><a href="../dart-collection/LinkedHashSet/forEach.html">forEach</a></span><span class="signature">(<wbr><span class="parameter" id="forEach-param-action"><span class="type-annotation">void</span> <span class="parameter-name">action</span>(<span class="parameter" id="action-param-element"><span class="type-annotation">E</span> <span class="parameter-name">element</span></span>)</span>) <span class="returntype parameter">&#8594; void</span> </span> </dt> <dd> Executes a function on each element of the set. <div class="features"><span class="feature">override</span></div> </dd> <dt id="intersection" class="callable inherited"> <span class="name"><a href="../dart-core/Set/intersection.html">intersection</a></span><span class="signature">(<wbr><span class="parameter" id="intersection-param-other"><span class="type-annotation"><a href="../dart-core/Set-class.html">Set</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../dart-core/Object-class.html">Object</a>?</span>&gt;</span></span> <span class="parameter-name">other</span></span>) <span class="returntype parameter">&#8594; <a href="../dart-core/Set-class.html">Set</a><span class="signature">&lt;<wbr><span class="type-parameter">E</span>&gt;</span></span> </span> </dt> <dd class="inherited"> Creates a new set which is the intersection between this set and <code>other</code>. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="join" class="callable inherited"> <span class="name"><a href="../dart-core/Iterable/join.html">join</a></span><span class="signature">(<wbr>[<span class="parameter" id="join-param-separator"><span class="type-annotation"><a href="../dart-core/String-class.html">String</a></span> <span class="parameter-name">separator</span> = <span class="default-value">&quot;&quot;</span></span>]) <span class="returntype parameter">&#8594; <a href="../dart-core/String-class.html">String</a></span> </span> </dt> <dd class="inherited"> Converts each element to a <a href="../dart-core/String-class.html">String</a> and concatenates the strings. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="lastWhere" class="callable inherited"> <span class="name"><a href="../dart-core/Iterable/lastWhere.html">lastWhere</a></span><span class="signature">(<wbr><span class="parameter" id="lastWhere-param-test"><span class="type-annotation"><a href="../dart-core/bool-class.html">bool</a></span> <span class="parameter-name">test</span>(<span class="parameter" id="param-element"><span class="type-annotation">E</span> <span class="parameter-name">element</span></span>), {</span><span class="parameter" id="lastWhere-param-orElse"><span class="type-annotation">E</span> <span class="parameter-name">orElse</span>()?</span>}) <span class="returntype parameter">&#8594; E</span> </span> </dt> <dd class="inherited"> The last element that satisfies the given predicate <code>test</code>. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="lookup" class="callable inherited"> <span class="name"><a href="../dart-core/Set/lookup.html">lookup</a></span><span class="signature">(<wbr><span class="parameter" id="lookup-param-object"><span class="type-annotation"><a href="../dart-core/Object-class.html">Object</a>?</span> <span class="parameter-name">object</span></span>) <span class="returntype parameter">&#8594; E?</span> </span> </dt> <dd class="inherited"> If an object equal to <code>object</code> is in the set, return it. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="map" class="callable inherited"> <span class="name"><a href="../dart-core/Iterable/map.html">map</a></span><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span><span class="signature">(<wbr><span class="parameter" id="map-param-toElement"><span class="type-annotation">T</span> <span class="parameter-name">toElement</span>(<span class="parameter" id="param-e"><span class="type-annotation">E</span> <span class="parameter-name">e</span></span>)</span>) <span class="returntype parameter">&#8594; <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span></span> </span> </dt> <dd class="inherited"> The current elements of this iterable modified by <code>toElement</code>. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="noSuchMethod" class="callable inherited"> <span class="name"><a href="../dart-core/Object/noSuchMethod.html">noSuchMethod</a></span><span class="signature">(<wbr><span class="parameter" id="noSuchMethod-param-invocation"><span class="type-annotation"><a href="../dart-core/Invocation-class.html">Invocation</a></span> <span class="parameter-name">invocation</span></span>) <span class="returntype parameter">&#8594; dynamic</span> </span> </dt> <dd class="inherited"> Invoked when a nonexistent method or property is accessed. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="reduce" class="callable inherited"> <span class="name"><a href="../dart-core/Iterable/reduce.html">reduce</a></span><span class="signature">(<wbr><span class="parameter" id="reduce-param-combine"><span class="type-annotation">E</span> <span class="parameter-name">combine</span>(<span class="parameter" id="param-value"><span class="type-annotation">E</span> <span class="parameter-name">value</span>, </span><span class="parameter" id="param-element"><span class="type-annotation">E</span> <span class="parameter-name">element</span></span>)</span>) <span class="returntype parameter">&#8594; E</span> </span> </dt> <dd class="inherited"> Reduces a collection to a single value by iteratively combining elements of the collection using the provided function. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="remove" class="callable inherited"> <span class="name"><a href="../dart-core/Set/remove.html">remove</a></span><span class="signature">(<wbr><span class="parameter" id="remove-param-value"><span class="type-annotation"><a href="../dart-core/Object-class.html">Object</a>?</span> <span class="parameter-name">value</span></span>) <span class="returntype parameter">&#8594; <a href="../dart-core/bool-class.html">bool</a></span> </span> </dt> <dd class="inherited"> Removes <code>value</code> from the set. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="removeAll" class="callable inherited"> <span class="name"><a href="../dart-core/Set/removeAll.html">removeAll</a></span><span class="signature">(<wbr><span class="parameter" id="removeAll-param-elements"><span class="type-annotation"><a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../dart-core/Object-class.html">Object</a>?</span>&gt;</span></span> <span class="parameter-name">elements</span></span>) <span class="returntype parameter">&#8594; void</span> </span> </dt> <dd class="inherited"> Removes each element of <code>elements</code> from this set. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="removeWhere" class="callable inherited"> <span class="name"><a href="../dart-core/Set/removeWhere.html">removeWhere</a></span><span class="signature">(<wbr><span class="parameter" id="removeWhere-param-test"><span class="type-annotation"><a href="../dart-core/bool-class.html">bool</a></span> <span class="parameter-name">test</span>(<span class="parameter" id="param-element"><span class="type-annotation">E</span> <span class="parameter-name">element</span></span>)</span>) <span class="returntype parameter">&#8594; void</span> </span> </dt> <dd class="inherited"> Removes all elements of this set that satisfy <code>test</code>. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="retainAll" class="callable inherited"> <span class="name"><a href="../dart-core/Set/retainAll.html">retainAll</a></span><span class="signature">(<wbr><span class="parameter" id="retainAll-param-elements"><span class="type-annotation"><a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../dart-core/Object-class.html">Object</a>?</span>&gt;</span></span> <span class="parameter-name">elements</span></span>) <span class="returntype parameter">&#8594; void</span> </span> </dt> <dd class="inherited"> Removes all elements of this set that are not elements in <code>elements</code>. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="retainWhere" class="callable inherited"> <span class="name"><a href="../dart-core/Set/retainWhere.html">retainWhere</a></span><span class="signature">(<wbr><span class="parameter" id="retainWhere-param-test"><span class="type-annotation"><a href="../dart-core/bool-class.html">bool</a></span> <span class="parameter-name">test</span>(<span class="parameter" id="param-element"><span class="type-annotation">E</span> <span class="parameter-name">element</span></span>)</span>) <span class="returntype parameter">&#8594; void</span> </span> </dt> <dd class="inherited"> Removes all elements of this set that fail to satisfy <code>test</code>. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="singleWhere" class="callable inherited"> <span class="name"><a href="../dart-core/Iterable/singleWhere.html">singleWhere</a></span><span class="signature">(<wbr><span class="parameter" id="singleWhere-param-test"><span class="type-annotation"><a href="../dart-core/bool-class.html">bool</a></span> <span class="parameter-name">test</span>(<span class="parameter" id="param-element"><span class="type-annotation">E</span> <span class="parameter-name">element</span></span>), {</span><span class="parameter" id="singleWhere-param-orElse"><span class="type-annotation">E</span> <span class="parameter-name">orElse</span>()?</span>}) <span class="returntype parameter">&#8594; E</span> </span> </dt> <dd class="inherited"> The single element that satisfies <code>test</code>. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="skip" class="callable inherited"> <span class="name"><a href="../dart-core/Iterable/skip.html">skip</a></span><span class="signature">(<wbr><span class="parameter" id="skip-param-count"><span class="type-annotation"><a href="../dart-core/int-class.html">int</a></span> <span class="parameter-name">count</span></span>) <span class="returntype parameter">&#8594; <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">E</span>&gt;</span></span> </span> </dt> <dd class="inherited"> Creates an <a href="../dart-core/Iterable-class.html">Iterable</a> that provides all but the first <code>count</code> elements. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="skipWhile" class="callable inherited"> <span class="name"><a href="../dart-core/Iterable/skipWhile.html">skipWhile</a></span><span class="signature">(<wbr><span class="parameter" id="skipWhile-param-test"><span class="type-annotation"><a href="../dart-core/bool-class.html">bool</a></span> <span class="parameter-name">test</span>(<span class="parameter" id="param-value"><span class="type-annotation">E</span> <span class="parameter-name">value</span></span>)</span>) <span class="returntype parameter">&#8594; <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">E</span>&gt;</span></span> </span> </dt> <dd class="inherited"> Creates an <code>Iterable</code> that skips leading elements while <code>test</code> is satisfied. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="take" class="callable inherited"> <span class="name"><a href="../dart-core/Iterable/take.html">take</a></span><span class="signature">(<wbr><span class="parameter" id="take-param-count"><span class="type-annotation"><a href="../dart-core/int-class.html">int</a></span> <span class="parameter-name">count</span></span>) <span class="returntype parameter">&#8594; <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">E</span>&gt;</span></span> </span> </dt> <dd class="inherited"> Creates a lazy iterable of the <code>count</code> first elements of this iterable. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="takeWhile" class="callable inherited"> <span class="name"><a href="../dart-core/Iterable/takeWhile.html">takeWhile</a></span><span class="signature">(<wbr><span class="parameter" id="takeWhile-param-test"><span class="type-annotation"><a href="../dart-core/bool-class.html">bool</a></span> <span class="parameter-name">test</span>(<span class="parameter" id="param-value"><span class="type-annotation">E</span> <span class="parameter-name">value</span></span>)</span>) <span class="returntype parameter">&#8594; <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">E</span>&gt;</span></span> </span> </dt> <dd class="inherited"> Creates a lazy iterable of the leading elements satisfying <code>test</code>. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="toList" class="callable inherited"> <span class="name"><a href="../dart-core/Iterable/toList.html">toList</a></span><span class="signature">(<wbr>{<span class="parameter" id="toList-param-growable"><span class="type-annotation"><a href="../dart-core/bool-class.html">bool</a></span> <span class="parameter-name">growable</span> = <span class="default-value">true</span></span>}) <span class="returntype parameter">&#8594; <a href="../dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter">E</span>&gt;</span></span> </span> </dt> <dd class="inherited"> Creates a <a href="../dart-core/List-class.html">List</a> containing the elements of this <a href="../dart-core/Iterable-class.html">Iterable</a>. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="toSet" class="callable inherited"> <span class="name"><a href="../dart-core/Set/toSet.html">toSet</a></span><span class="signature">(<wbr>) <span class="returntype parameter">&#8594; <a href="../dart-core/Set-class.html">Set</a><span class="signature">&lt;<wbr><span class="type-parameter">E</span>&gt;</span></span> </span> </dt> <dd class="inherited"> Creates a <a href="../dart-core/Set-class.html">Set</a> with the same elements and behavior as this <code>Set</code>. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="toString" class="callable inherited"> <span class="name"><a href="../dart-core/Object/toString.html">toString</a></span><span class="signature">(<wbr>) <span class="returntype parameter">&#8594; <a href="../dart-core/String-class.html">String</a></span> </span> </dt> <dd class="inherited"> A string representation of this object. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="union" class="callable inherited"> <span class="name"><a href="../dart-core/Set/union.html">union</a></span><span class="signature">(<wbr><span class="parameter" id="union-param-other"><span class="type-annotation"><a href="../dart-core/Set-class.html">Set</a><span class="signature">&lt;<wbr><span class="type-parameter">E</span>&gt;</span></span> <span class="parameter-name">other</span></span>) <span class="returntype parameter">&#8594; <a href="../dart-core/Set-class.html">Set</a><span class="signature">&lt;<wbr><span class="type-parameter">E</span>&gt;</span></span> </span> </dt> <dd class="inherited"> Creates a new set which contains all the elements of this set and <code>other</code>. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="where" class="callable inherited"> <span class="name"><a href="../dart-core/Iterable/where.html">where</a></span><span class="signature">(<wbr><span class="parameter" id="where-param-test"><span class="type-annotation"><a href="../dart-core/bool-class.html">bool</a></span> <span class="parameter-name">test</span>(<span class="parameter" id="param-element"><span class="type-annotation">E</span> <span class="parameter-name">element</span></span>)</span>) <span class="returntype parameter">&#8594; <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">E</span>&gt;</span></span> </span> </dt> <dd class="inherited"> Creates a new lazy <a href="../dart-core/Iterable-class.html">Iterable</a> with all elements that satisfy the predicate <code>test</code>. <div class="features"><span class="feature">inherited</span></div> </dd> <dt id="whereType" class="callable inherited"> <span class="name"><a href="../dart-core/Iterable/whereType.html">whereType</a></span><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span><span class="signature">(<wbr>) <span class="returntype parameter">&#8594; <a href="../dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span></span> </span> </dt> <dd class="inherited"> Creates a new lazy <a href="../dart-core/Iterable-class.html">Iterable</a> with all elements that have type <code>T</code>. <div class="features"><span class="feature">inherited</span></div> </dd> </dl> </section> <section class="summary offset-anchor inherited" id="operators"> <h2>Operators</h2> <dl class="callables"> <dt id="operator ==" class="callable inherited"> <span class="name"><a href="../dart-core/Object/operator_equals.html">operator ==</a></span><span class="signature">(<wbr><span class="parameter" id="==-param-other"><span class="type-annotation"><a href="../dart-core/Object-class.html">Object</a></span> <span class="parameter-name">other</span></span>) <span class="returntype parameter">&#8594; <a href="../dart-core/bool-class.html">bool</a></span> </span> </dt> <dd class="inherited"> The equality operator. <div class="features"><span class="feature">inherited</span></div> </dd> </dl> </section> </div> <!-- /.main-content --> <div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left"> <!-- The search input and breadcrumbs below are only responsively visible at low resolutions. --> <header id="header-search-sidebar" class="hidden-l"> <form class="search-sidebar" role="search"> <input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search..."> </form> </header> <ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav"> <li><a href="../index.html">Dart</a></li> <li><a href="../dart-collection">dart:collection</a></li> <li class="self-crumb">LinkedHashSet<span class="signature">&lt;<wbr><span class="type-parameter">E</span>&gt;</span> class</li> </ol> <h5>dart:collection library</h5> <div id="dartdoc-sidebar-left-content"></div> </div> <div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right"> </div><!--/.sidebar-offcanvas--> </main> <footer> <span class="no-break"> Dart 3.7.0 </span> <span class="glue-footer"> <span class="no-break"> | <a href="https://dart.dev/terms" title="Terms of use">Terms</a> </span> <span class="no-break"> | <a href="https://policies.google.com/privacy" target="_blank" rel="noopener" title="Privacy policy" class="no-automatic-external">Privacy</a> </span> <span class="no-break"> | <a href="https://dart.dev/security" title="Security philosophy and practices">Security</a> </span> <div class="copyright" style="font-size: 0.9em; color: darkgrey; margin-top: 0.5em;"> Except as otherwise noted, this site is licensed under a <a style="color: darkgrey;" href="https://creativecommons.org/licenses/by/4.0/"> Creative Commons Attribution 4.0 International License</a> and code samples are licensed under the <a style="color: darkgrey;" href="https://opensource.org/licenses/BSD-3-Clause" class="no-automatic-external"> 3-Clause BSD License</a> </div> </span> </footer> <script src="../static-assets/highlight.pack.js?v1"></script> <script src="../static-assets/docs.dart.js"></script> <button aria-hidden="true" class="glue-footer__link glue-cookie-notification-bar-control"> Cookies management controls </button> <script src="https://www.gstatic.com/glue/cookienotificationbar/cookienotificationbar.min.js" data-glue-cookie-notification-bar-category="2B"> </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10