vnpttech_pkg 0.9.0 copy "vnpttech_pkg: ^0.9.0" to clipboard
vnpttech_pkg: ^0.9.0 copied to clipboard

unlistedoutdated

A Dart library package that provides API communication to connect, configure and control VNPT Technology network devices. Developed by Software Technology Center

50/ 160
pub points
835
downloads

We analyzed this package 3 days ago, and awarded it 50 pub points (of a possible 160):

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

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

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

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

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

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

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

35 out of 40 API elements (87.5 %) have documentation comments.

Some symbols that are missing documentation: vnpttech_pkg, vnpttech_pkg_base, vnpttech_pkg_base.VNPTTechAPI, vnpttech_pkg_base.VNPTTechAPI.VNPTTechAPI.new, vnpttech_pkg_base.VNPTTechAPI.shared.

Passed check 10/10 points: Package has an example

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

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

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 46 issues. Showing the first 2:

ERROR: The method 'NullThrownError' isn't defined for the type 'DeviceUtils'.

lib/src/core/devices_management/device_utils.dart:28:44

   ╷
28 │     if (deviceId.isNotEmpty != true) throw NullThrownError();
   │                                            ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/devices_management/device_utils.dart

WARNING: The value of the local variable 'deviceMacAddress' isn't used.

lib/src/core/devices_management/connect_provider.dart:89:12

   ╷
89 │     String deviceMacAddress = modelDevice.deviceMac.toUpperCase();
   │            ^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/devices_management/connect_provider.dart

Failed report section
Support up-to-date dependencies
10 / 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
convert ^3.0.2 3.1.2 3.1.2
crypto ^3.0.2 3.0.7 3.0.7
dart_jsonwebtoken ^2.4.2 2.17.0 3.4.0
device_info ^2.0.0 2.0.3 2.0.3 Discontinued
flutter_js ^0.5.0+6 0.5.0+6 0.8.7
http ^0.13.4 0.13.6 1.6.0
json_annotation ^4.0.1 4.11.0 4.11.0
package_info ^2.0.0 2.0.2 2.0.2 Discontinued
path ^1.8.0 1.9.1 1.9.1
path_provider ^2.0.11 2.0.15 2.1.5
shared_preferences ^2.0.15 2.5.5 2.5.5
Transitive dependencies
Package Constraint Compatible Latest Notes
adaptive_number - 1.0.0 1.0.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
device_info_platform_interface - 2.0.1 2.0.1
ed25519_edwards - 0.3.1 0.3.1
ffi - 1.2.1 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
path_provider_android - 2.2.23 2.2.23
path_provider_foundation - 2.5.1 2.6.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.0.7 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 4.0.0
shared_preferences_android - 2.4.23 2.4.23
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.2 2.4.2
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
sync_http - 0.3.1 0.3.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.3.0
web - 1.1.1 1.1.1
win32 - 2.6.1 6.0.0
xdg_directories - 1.1.0 1.1.0

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

Found 4 issues. Showing the first 2:

The constraint `^2.4.2` on dart_jsonwebtoken does not support the stable version `3.0.0`.

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

The constraint `^0.5.0+6` on flutter_js does not support the stable version `0.6.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_METHOD - lib/src/core/devices_management/device_utils.dart:28:44 - The method 'NullThrownError' isn't defined for the type 'DeviceUtils'.

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.23.12, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
50
points
835
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Dart library package that provides API communication to connect, configure and control VNPT Technology network devices. Developed by Software Technology Center

License

BSD-3-Clause (license)

Dependencies

convert, crypto, dart_jsonwebtoken, device_info, flutter, flutter_js, http, json_annotation, package_info, path, path_provider, shared_preferences

More

Packages that depend on vnpttech_pkg