dart_collection_sampler 2.0.1
dart_collection_sampler: ^2.0.1 copied to clipboard

Dart native js
Flutter Android iOS web

a small library implementing methods to sample items from collections

0
likes
100 / 110
pub points
15 %
popularity

We analyzed this package on Jan 23, 2021, and awarded it 100 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/main.dart

10/10 points: 20% or more of the public API has dartdoc comments

  • 12 out of 12 API elements (100.0 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

INFO: 'List' is deprecated and shouldn't be used.

lib/src/reservoir_sampling.dart:22:19

   ╷
22 │   var reservoir = List<T>(N);
   │                   ^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/reservoir_sampling.dart

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
dart_dice_parser^2.0.12.0.12.0.1
Transitive dependencies
PackageConstraintCompatibleLatest
logging-0.11.40.11.4
meta-1.2.41.2.4
petitparser-2.4.03.1.0

To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

0
likes
100
pub points
15%
popularity

a small library implementing methods to sample items from collections

Repository (GitHub)
View/report issues

Documentation

API reference

Uploaders

stevec1973@gmail.com
adventuresmith.rpg@gmail.com

License

MIT (LICENSE)

Dependencies

dart_dice_parser

More

Packages that depend on dart_collection_sampler