Queryable collections for Dart language.
Inspired by Microsoft LINQ.
Collection Dictionary DictionaryKeyCollection DictionaryValueCollection EqualityComparer HasIterator ICollection IDictionary IEnumerable IEqualityComparer IList IReadOnlyCollection IReadOnlyDictionary IReadOnlyList KeyValuePair ReadOnlyCollection ReadOnlyDictionary ReadOnlyDictionaryKeyCollection ReadOnlyDictionaryValueCollection
aggregate all any asIterable asQueryable average cast concat contains count defaultIfEmpty distinct elementAt elementAtOrDefault except first firstOrDefault groupBy groupJoin intersect join last lastOrDefault max min ofType orderBy orderByDescending range repeat select selectMany sequenceEqual single singleOrDefault skip skipWhile sum take takeWhile toCollection toDictionary toList toLookup union where
Add this to your package's pubspec.yaml file:
dependencies: queries: "^0.0.15"
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.0.15||Dec 22, 2014|
|0.0.14||Jan 13, 2014|
|0.0.12||Dec 21, 2013|
|0.0.11||Dec 20, 2013|
|0.0.9||Dec 18, 2013|
|0.0.8||Dec 17, 2013|
|0.0.7||Dec 17, 2013|
|0.0.6||Dec 16, 2013|
|0.0.5||Dec 16, 2013|
|0.0.4||Dec 16, 2013|
We analyzed this package on May 14, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Detected platforms: Flutter, web, other
No platform restriction found in primary library
Fix analysis and formatting issues.
Analysis or formatting checks reported 15 errors 17 hints.
Strong-mode analysis of
lib/src/collections/dictionary.dartfailed with the following error:
line: 24 col: 21
The type 'IDictionary<TKey, TValue>' used in the 'for' loop must implement Iterable.
Strong-mode analysis of
lib/src/collections/read_only_dictionary.dartfailed with the following error:
line: 211 col: 21
The type '_ReadOnlyDictionary<TKey, TValue>' used in the 'for' loop must implement Iterable.
Similar analysis of the following files failed:
The description is too short.
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Package is pre-v1 release.
While there is nothing inherently wrong with versions of
0.*.*, it usually means that the author is still experimenting with the general direction API.