digit_data_model 1.0.5 copy "digit_data_model: ^1.0.5" to clipboard
digit_data_model: ^1.0.5 copied to clipboard

The digit_data_model package is a data modeling library. It defines various classes, enums, and functions.

3
likes
80/ 160
pub points
768
downloads

We analyzed this package 7 hours ago, and awarded it 80 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

4881 out of 15006 API elements (32.5 %) have documentation comments.

Some symbols that are missing documentation: address, address, address, address.Address, address.Address.Address.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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 does not support platform `Web`.

Because:

  • package:digit_data_model/blocs/boundary/boundary.dart that imports:
  • package:digit_data_model/utils/typedefs.dart that imports:
  • package:digit_data_model/models/entities/project_resource.dart that imports:
  • package:digit_data_model/data_model.dart that imports:
  • package:digit_data_model/data/local_store/sql_store/sql_store.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 5751 issues. Showing the first 2:

ERROR: The type 'RootTableManager' is declared with 11 type parameters, but 8 type arguments were given.

lib/data/local_store/sql_store/sql_store.g.dart:39456:53

      ╷
39456 │   class $$AttendanceRegisterTableTableManager extends RootTableManager<
      │ ┌─────────────────────────────────────────────────────^
39457 │ │     _$LocalSqlDataStore,
39458 │ │     $AttendanceRegisterTable,
39459 │ │     AttendanceRegisterData,
39460 │ │     $$AttendanceRegisterTableFilterComposer,
39461 │ │     $$AttendanceRegisterTableOrderingComposer,
39462 │ │     $$AttendanceRegisterTableProcessedTableManager,
39463 │ │     $$AttendanceRegisterTableInsertCompanionBuilder,
39464 │ │     $$AttendanceRegisterTableUpdateCompanionBuilder> {
      │ └────────────────────────────────────────────────────^
      ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/data/local_store/sql_store/sql_store.g.dart

ERROR: The named parameter 'createCompanionCallback' is required, but there's no corresponding argument.

lib/data/local_store/sql_store/sql_store.g.dart:39467:15

      ╷
39467 │       : super(TableManagerState(
      │               ^^^^^^^^^^^^^^^^^
      ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/data/local_store/sql_store/sql_store.g.dart

failed
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.18.0 1.19.0 1.19.1
dart_mappable ^4.2.0 4.3.0 4.3.0
dio ^5.4.3+1 5.7.0 5.7.0
drift ^2.18.0 2.22.1 2.22.1
flutter flutter 0.0.0 0.0.0
flutter_bloc ^8.1.5 8.1.6 8.1.6
freezed_annotation ^2.4.1 2.4.4 2.4.4
isar ^3.1.0+1 3.1.0+1 3.1.0+1
isar_flutter_libs ^3.1.0+1 3.1.0+1 3.1.0+1
mocktail ^1.0.3 1.0.4 1.0.4
path ^1.9.0 1.9.1 1.9.1
path_provider ^2.1.3 2.1.5 2.1.5
recase ^4.1.0 4.1.0 4.1.0
sqlite3_flutter_libs ^0.5.23 0.5.27 0.5.27
uuid ^4.4.0 4.5.1 4.5.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
bloc - 8.1.4 8.1.4
boolean_selector - 2.1.2 2.1.2
characters - 1.3.0 1.4.0
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
fixnum - 1.1.1 1.1.1
http_parser - 4.1.1 4.1.1
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
sqlite3 - 2.5.0 2.5.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
type_plus - 2.1.1 2.1.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 68 errors:

  • UNDEFINED_METHOD - lib/data_model.mapper.dart:198:10 - The method 'equalsValue' isn't defined for the type 'AdditionalFieldMapper'.
  • UNDEFINED_METHOD - lib/data_model.mapper.dart:319:10 - The method 'equalsValue' isn't defined for the type 'AuditDetailsMapper'.
  • UNDEFINED_METHOD - lib/data_model.mapper.dart:458:10 - The method 'equalsValue' isn't defined for the type 'ClientAuditDetailsMapper'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

3
likes
80
points
768
downloads

Publisher

unverified uploader

Weekly Downloads

The digit_data_model package is a data modeling library. It defines various classes, enums, and functions.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection, dart_mappable, dio, drift, flutter, flutter_bloc, freezed_annotation, isar, isar_flutter_libs, mocktail, path, path_provider, recase, sqlite3_flutter_libs, uuid

More

Packages that depend on digit_data_model