snapshot 0.2.0
snapshot: ^0.2.0 copied to clipboard
A library that can be used to implement data classes and simplifies conversion of JSON to data classes
4
likes
120
/ 130
pub points
71
%
popularity
We analyzed this package on Apr 22, 2021, and awarded it 120 pub points (of a possible 130):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Package has an example
- Found example at:
example/snapshot.dart
10/10 points: 20% or more of the public API has dartdoc comments
- 51 out of 71 API elements (71.8 %) have documentation comments.
20/20 points: Supports 2 of 2 possible platforms (native, js)
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: The operand can't be null, so the condition is always true.
lib/src/json_pointer.dart:4:61
╷
4 │ JsonPointer.fromSegments(this.segments) : assert(segments != null);
│ ^^^^^^^
╵
To reproduce make sure you are using pedantic and run dartanalyzer lib/src/json_pointer.dart
INFO: The operand can't be null, so the condition is always false.
lib/src/snapshot_view.dart:166:14
╷
166 │ if (path == null) {
│ ^^^^^^^
╵
To reproduce make sure you are using pedantic and run dartanalyzer lib/src/snapshot_view.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection | ^1.15.0 | 1.15.0 | 1.15.0 |
intl | ^0.17.0 | 0.17.0 | 0.17.0 |
meta | ^1.3.0 | 1.3.0 | 1.3.0 |
path | ^1.8.0 | 1.8.0 | 1.8.0 |
quiver | ^3.0.0 | 3.0.1 | 3.0.1 |
rxdart | ^0.26.0 | 0.26.0 | 0.26.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
clock | - | 1.1.0 | 1.1.0 |
matcher | - | 0.12.10 | 0.12.10 |
stack_trace | - | 1.10.0 | 1.10.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
20/20 points: Package and dependencies are fully migrated to null safety!
Analysed with
Pana 0.15.4
,
Dart 2.12.2
.