struct_data 0.1.3
struct_data: ^0.1.3 copied to clipboard
Binary data utilities. Structured data using Field descriptors. Lightweight serialization for general data classes without code generation. Inspired by C-style structs and unions.
We analyzed this package 9 days ago, and awarded it 150 pub points (of a possible 160):
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: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
216 out of 946 API elements (22.8 %) have documentation comments.
Some symbols that are missing documentation: basic_ext, basic_ext.NullableOps, basic_ext.NullableOps.ifNull, basic_ext.NullableOps.isAnd, basic_ext.StringTrimming.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:struct_data/struct_data.dartthat imports:package:struct_data/binary_data.dartthat imports:package:struct_data/models/version.dartthat imports:package:struct_data/word/word_struct.dartthat imports:package:struct_data/bytes/typed_field.dartthat imports:package:struct_data/src/type_markers.dartthat imports:dart:ffi
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 15 issues. Showing the first 2:
INFO: The member 'bitmask' overrides an inherited member but isn't annotated with '@override'.
lib/bits/bit_field.dart:40:15
╷
40 │ Bitmask get bitmask => Bitmask.index(index);
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/bits/bit_field.dart
INFO: The member 'width' overrides an inherited member but isn't annotated with '@override'.
lib/bits/bit_struct.dart:147:11
╷
147 │ int get width => BitForm(_init.keys.toList()).totalWidth;
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/bits/bit_struct.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.18.0 |
1.19.1 | 1.19.1 | |
meta |
^1.11.0 |
1.19.0 | 1.19.0 |
To reproduce run dart 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: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.19, Dart 3.13.1.
Check the analysis log for details.