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

Swagger API client

60/ 160
pub points
88
downloads

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

Failed report section
Follow Dart file conventions
10 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

Failed check 0/5 points: Provide a valid README.md

No `README.md` found.

The README.md file should inform others about your project, what it does, and how they can use it. Check out the guidelines on Writing great package pages.

Failed check 0/5 points: Provide a valid CHANGELOG.md

No `CHANGELOG.md` found.

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

1296 out of 6531 API elements (19.8 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: assisted_task, assisted_task.AssistedTask, assisted_task.AssistedTask.AssistedTask.new, assisted_task.AssistedTask.clone, assisted_task.AssistedTask.contactKey.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:facts/facts.dart that imports:
  • package:facts/model/task_fact.dart that imports:
  • package:sunny_service_stubs/models/reliveit/model/relive_it_contact.dart that imports:
  • package:sunny_service_stubs/models/contact_v2/model/physical_location.dart that imports:
  • package:sunny_sdk_core/sunny_sdk_core.dart that imports:
  • package:sunny_sdk_core/services.dart that imports:
  • package:sunny_sdk_core/services/i_auth_state.dart that imports:
  • package:sunny_sdk_core/auth/auth_user_profile.dart that imports:
  • package:firebase_auth/firebase_auth.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:facts/facts.dart that imports:
  • package:facts/model/task_fact.dart that imports:
  • package:sunny_service_stubs/models/reliveit/model/relive_it_contact.dart that imports:
  • package:sunny_service_stubs/models/contact_v2/model/physical_location.dart that imports:
  • package:sunny_sdk_core/sunny_sdk_core.dart that imports:
  • package:sunny_sdk_core/services.dart that imports:
  • package:sunny_sdk_core/services/i_auth_state.dart that imports:
  • package:sunny_sdk_core/auth/auth_user_profile.dart that imports:
  • package:firebase_auth/firebase_auth.dart that declares support for platforms: Android, iOS, macOS, Web.
Package not compatible with platform Web

Because:

  • package:facts/facts.dart that imports:
  • package:facts/model/task_fact.dart that imports:
  • package:sunny_service_stubs/models/reliveit/model/relive_it_contact.dart that imports:
  • package:sunny_service_stubs/models/contact_v2/model/physical_location.dart that imports:
  • package:sunny_sdk_core/sunny_sdk_core.dart that imports:
  • package:sunny_sdk_core/services.dart that imports:
  • package:sunny_sdk_core/services/i_auth_state.dart that imports:
  • package:sunny_sdk_core/auth/auth_user_profile.dart that imports:
  • package:firebase_auth/firebase_auth.dart that imports:
  • package:firebase_core_platform_interface/firebase_core_platform_interface.dart that imports:
  • package:firebase_core_platform_interface/src/pigeon/test_api.dart that imports:
  • package:flutter_test/flutter_test.dart that imports:
  • package:flutter_test/src/widget_tester.dart that imports:
  • package:flutter_test/src/test_text_input.dart that imports:
  • package:flutter_test/src/test_text_input_key_handler.dart that imports:
  • package:flutter_test/src/binding.dart that imports:
  • package:flutter_test/src/platform.dart that imports:
  • dart:io

Failed check 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.cn/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 305 issues. Showing the first 2:

ERROR: 'Fact.dateCreated' ('DateTime? Function()') isn't a valid concrete implementation of 'IFact.dateCreated' ('DateTime Function()').

lib/model/assisted_task.dart:18:7

   ╷
18 │ class AssistedTask extends TaskFact
   │       ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/model/assisted_task.dart

ERROR: 'Fact.dateCreated' ('DateTime? Function()') isn't a valid concrete implementation of 'IFact.dateCreated' ('DateTime Function()').

lib/model/birthday.dart:14:7

   ╷
14 │ class Birthday extends Fact
   │       ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/model/birthday.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
contact_v2 ^1.1.4 1.1.5 1.1.5
dartx ^0.7.1 0.7.1 1.2.0
dartxx ^0.5.3+2 0.5.5 0.5.5
equatable ^2.0.3 2.0.7 2.0.7
flexidate ^0.8.0+3 0.8.0+3 0.8.0+3
http ^0.13.4 0.13.6 1.5.0
m_entity ^1.1.4 1.1.4 1.1.4
pfile ^2.1.0+4 2.2.0 2.2.0
sunny_dart ^0.11.0+7 0.11.1 0.11.1
sunny_sdk_core ^2.4.0+7 2.5.0 2.5.0
sunny_service_stubs ^0.5.0+9 0.5.1 0.5.1
timezone ^0.8.0 0.8.0 0.10.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.0.2 1.3.62
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
buffer - 1.2.3 1.2.3
characters - 1.4.0 1.4.1
chunked_stream - 1.4.2 1.4.2
clock - 1.1.2 1.1.2
cloud_firestore_platform_interface - 5.7.7 7.0.2
cloud_firestore_web - 2.8.10 5.0.2
collection - 1.19.1 1.19.1
collection_diff - 2.0.3+6 2.0.3+6
collection_diff_worker - 0.5.5+7 0.5.5+7
crypto - 3.0.6 3.0.6
dio - 4.0.6 5.9.0
fake_async - 1.3.3 1.3.3
ffi - 2.1.4 2.1.4
firebase_auth - 3.11.2 6.1.0
firebase_auth_platform_interface - 6.10.1 8.1.2
firebase_auth_web - 4.6.1 6.0.3
firebase_core - 1.24.0 4.1.1
firebase_core_platform_interface - 4.8.0 6.0.1
firebase_core_web - 1.7.3 3.1.1
http_parser - 4.1.2 4.1.2
inflection3 - 0.5.3+2 0.5.3+2
info_x - 0.8.0+3 0.8.0+3
intl - 0.17.0 0.20.2
isolates - 3.0.3+8 3.0.3+8
js - 0.6.7 0.7.2 Discontinued
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
libphonenumber2 - 2.0.2+2 2.0.2+2
logging - 1.3.0 1.3.0
logging_config - 0.6.7+7 0.6.7+7
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
mobx - 2.5.0 2.5.0
observable_collections - 0.7.1 0.7.1
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.18 2.2.18
path_provider_foundation - 2.4.2 2.4.2
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
pedantic - 1.11.1 1.11.1 Discontinued
platform - 3.1.6 3.1.6
platform_detect2 - 1.5.0+2 1.5.0+2
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.0 2.2.0
quiver - 3.2.2 3.2.2
recase - 4.1.0 4.1.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
sunny_data - 1.0.0+3 1.0.0+3
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
test_api - 0.7.6 0.7.7
time - 2.1.5 2.1.5
typed_data - 1.4.0 1.4.0
uri - 1.0.0 1.0.0
uuid - 3.0.7 4.5.1
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
worker_service - 0.7.4 0.7.4
xdg_directories - 1.1.0 1.1.0

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

Found 3 issues. Showing the first 2:

The constraint `^0.7.1` on dartx does not support the stable version `0.8.0`.

Try running dart pub upgrade --major-versions dartx to update the constraint.

The constraint `^0.13.4` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http to update the constraint.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
60
points
88
downloads

Publisher

unverified uploader

Weekly Downloads

Swagger API client

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

contact_v2, dartx, dartxx, equatable, flexidate, flutter, http, m_entity, pfile, sunny_dart, sunny_sdk_core, sunny_service_stubs, timezone

More

Packages that depend on facts