dartactyl 1.9.0 copy "dartactyl: ^1.9.0" to clipboard
dartactyl: ^1.9.0 copied to clipboard

An API client wrapper for Pterodactyl Panel. Following V1 for now.

2
likes
110/ 140
pub points
12%
popularity

We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 140):

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: BSD-3-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting dartactyl... Discovering libraries... Linking elements... Precaching local docs for 689043 elements... Initialized dartdoc with 619 libraries Generating docs for library dartactyl.dart from package:dartactyl/dartactyl.dart... Generating docs for library models.dart from package:dartactyl/models.dart... Generating docs for library websocket.dart from package:dartactyl/websocket.dart... Generating docs for library dartactyl_visible_dio.dart from package:dartactyl/dartactyl_visible_dio.dart... Documented 4 public libraries in 50.1 seconds ERR: warning: ambiguous reexport of update_node_request.UpdateNodeRequest, canonicalization candidates: (dartactyl_visible_dio, dartactyl, dartactyl) -> dartactyl (confidence 0.000) from update_node_request.UpdateNodeRequest: (file:///tmp/pana_IKZEMN/lib/src/models/application_request_models/update_node_request.dart:19:7) dartactyl_visible_dio: 0.01000 - (_Reason.longName (+0.01000)) dartactyl: 1.154 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1429), _Reason.locationPartStart (+0.001000)) dartactyl: 1.154 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1429), _Reason.locationPartStart (+0.001000)) Use {@canonicalFor update_node_request.UpdateNodeRequest} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library [1164 more lines]

10/10 points: Package has an example

OK
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 not compatible with platform Web

Because:

  • package:dartactyl/dartactyl.dart that imports:
  • package:dartactyl/src/clients/translation_client.dart that imports:
  • package:dartactyl/models.dart that imports:
  • package:dartactyl/src/clients/client_site_config.dart that imports:
  • package:dartactyl/dartactyl_visible_dio.dart that imports:
  • package:dartactyl/src/clients/client.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 423 issues. Showing the first 2:

WARNING: The diagnostic 'unnecessary_brace_in_string_interps' doesn't need to be ignored here because it's already being ignored.

lib/src/generated/clients/client.g.dart:85:21

   ╷
85 │ // ignore_for_file: unnecessary_brace_in_string_interps,no_leading_underscores_for_local_identifiers
   │                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/generated/clients/client.g.dart

WARNING: The diagnostic 'no_leading_underscores_for_local_identifiers' doesn't need to be ignored here because it's already being ignored.

lib/src/generated/clients/client.g.dart:85:57

   ╷
85 │ // ignore_for_file: unnecessary_brace_in_string_interps,no_leading_underscores_for_local_identifiers
   │                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/generated/clients/client.g.dart

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

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

Package Constraint Compatible Latest
dio ^5.0.0 5.4.3+1 5.4.3+1
freezed_annotation ^2.0.3 2.4.1 2.4.1
html ^0.15.0 0.15.4 0.15.4
json_annotation ^4.8.0 4.9.0 4.9.0
meta ^1.7.0 1.14.0 1.14.0
retrofit ^4.0.1 4.1.0 4.1.0
rxdart ^0.27.7 0.27.7 0.27.7
universal_io ^2.0.4 2.2.2 2.2.2
web_socket_channel ^2.3.0 2.4.5 2.4.5
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
csslib - 1.0.0 1.0.0
http_parser - 4.0.2 4.0.2
path - 1.9.0 1.9.0
source_span - 1.10.0 1.10.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
web - 0.5.1 0.5.1

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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

2
likes
110
pub points
12%
popularity

Publisher

unverified uploader

An API client wrapper for Pterodactyl Panel. Following V1 for now.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

dio, freezed_annotation, html, json_annotation, meta, retrofit, rxdart, universal_io, web_socket_channel

More

Packages that depend on dartactyl