rocketchat_sdk 0.2.0 copy "rocketchat_sdk: ^0.2.0" to clipboard
rocketchat_sdk: ^0.2.0 copied to clipboard

A highly modular, strictly-typed, and enterprise-grade Dart & Flutter SDK for integrating Rocket.Chat REST APIs.

70/ 160
pub points
0
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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: MIT.

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

24 out of 59 API elements (40.7 %) have documentation comments.

Some symbols that are missing documentation: rocketchat_sdk, rocketchat_sdk.ChannelRoom, rocketchat_sdk.ChannelRoom.ChannelRoom.fromJson, rocketchat_sdk.ChannelRoom.ChannelRoom.new, rocketchat_sdk.DmRoom.

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

ERROR: The getter 'authToken' isn't defined for the type 'RocketChatLoginData'.

lib/src/api/auth_api.dart:37:35

   ╷
37 │         _onLoginSuccess(loginData.authToken, loginData.userId);
   │                                   ^^^^^^^^^
   ╵

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

ERROR: The getter 'userId' isn't defined for the type 'RocketChatLoginData'.

lib/src/api/auth_api.dart:37:56

   ╷
37 │         _onLoginSuccess(loginData.authToken, loginData.userId);
   │                                                        ^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
dio ^5.9.2 5.9.2 5.9.2
freezed_annotation ^3.1.0 3.1.0 3.1.0
json_annotation ^4.12.0 4.12.0 4.12.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
collection - 1.19.1 1.19.1
dio_web_adapter - 2.1.2 2.1.2
http_parser - 4.1.2 4.1.2
meta - 1.18.2 1.18.2
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1

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

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 26 errors:

  • UNDEFINED_GETTER - lib/src/api/auth_api.dart:37:35 - The getter 'authToken' isn't defined for the type 'RocketChatLoginData'.
  • UNDEFINED_GETTER - lib/src/api/auth_api.dart:37:56 - The getter 'userId' isn't defined for the type 'RocketChatLoginData'.
  • URI_DOES_NOT_EXIST - lib/src/models/channel_room/channel_room.dart:4:6 - Target of URI doesn't exist: 'package:rocketchat_sdk/src/models/channel_room/channel_room.freezed.dart'.

Run dart pub downgrade and then dart 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, Dart 3.12.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
70
points
0
downloads

Documentation

API reference

Publisher

verified publishermerterkoc.dev

Weekly Downloads

A highly modular, strictly-typed, and enterprise-grade Dart & Flutter SDK for integrating Rocket.Chat REST APIs.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

dio, freezed_annotation, json_annotation

More

Packages that depend on rocketchat_sdk