botway_dart 0.1.1 copy "botway_dart: ^0.1.1" to clipboard
botway_dart: ^0.1.1 copied to clipboard

Dart client package for Botway. After creating a new dart botway project, you need to use your tokens to connect with your bot.

1
likes
150/ 160
pub points
0%
popularity

We analyzed this package 1 hour ago, and awarded it 150 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.

OK
Provide documentation
20 / 20trigger folding of the section

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

5 out of 10 API elements (50.0 %) have documentation comments.

Some symbols that are missing documentation: botway_dart, botway_dart.Botway.BotwayConfig, botway_dart.Botway.BotwayConfigFile, botway_dart.Botway.HomePath, botway_dart.Botway.get_bot_info.

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:botway_dart/botway_dart.dart that imports:
  • package:botway_dart/src/botway_dart_base.dart that imports:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 12 issues. Showing the first 2:

INFO: The variable name 'get_bot_info' isn't a lowerCamelCase identifier.

lib/src/botway_dart_base.dart:8:3

  ╷
8 │   get_bot_info(String value) {
  │   ^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/botway_dart_base.dart

INFO: The variable name 'BotConfigFile' isn't a lowerCamelCase identifier.

lib/src/botway_dart_base.dart:10:14

   ╷
10 │       String BotConfigFile = File(".botway.yaml").readAsStringSync();
   │              ^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/botway_dart_base.dart

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

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

Package Constraint Compatible Latest
path ^1.8.2 1.9.0 1.9.0
yaml ^3.1.1 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.18.0 1.18.0
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.6, Dart 3.4.3.

Check the analysis log for details.

1
likes
150
pub points
0%
popularity

Publisher

unverified uploader

Dart client package for Botway. After creating a new dart botway project, you need to use your tokens to connect with your bot.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

path, yaml

More

Packages that depend on botway_dart