mixin_bot_sdk_dart 1.2.8 mixin_bot_sdk_dart: ^1.2.8 copied to clipboard
Mixin Messenger API for Dart/Flutter, build decentrialized applications on Mixin
We analyzed this package 15 hours ago, and awarded it 110 pub points (of a possible 160):
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: Apache-2.0
.
0/10 points: 20% or more of the public API has dartdoc comments
220 out of 1551 API elements (14.2 %) 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: mixin_bot_sdk_dart
, mixin_bot_sdk_dart.Account
, mixin_bot_sdk_dart.Account.Account
, mixin_bot_sdk_dart.Account.Account.fromJson
, mixin_bot_sdk_dart.Account.acceptConversationSource
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
This package is compatible with runtime wasm
, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 46 issues. Showing the first 2:
WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: Account.userId, Account.identityNumber, Account.phone, Account.fullName, Account.biography, Account.avatarUrl, Account.relationship, Account.muteUntil, Account.createdAt, Account.isVerified, Account.isScam, Account.sessionId, Account.pinToken, Account.pinTokenBase64, Account.codeId, Account.codeUrl, Account.deviceStatus, Account.hasSafe, Account.hasPin, Account.hasEmergencyContact, Account.receiveMessageSource, Account.acceptConversationSource, Account.acceptSearchSource, Account.fiatCurrency, Account.transferNotificationThreshold, Account.transferConfirmationThreshold, Account.tipCounter, Account.tipKeyBase64, Account.membership
lib/src/vo/account.dart:10:7
╷
10 │ class Account with EquatableMixin {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/vo/account.dart
WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: Address.addressId, Address.type, Address.assetId, Address.destination, Address.label, Address.updatedAt, Address.reserve, Address.fee, Address.tag, Address.dust, Address.feeAssetId
lib/src/vo/address.dart:7:7
╷
7 │ class Address with EquatableMixin {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/vo/address.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
base_x |
^2.0.1 |
2.0.1 | 2.0.1 |
collection |
^1.18.0 |
1.19.1 | 1.19.1 |
convert |
^3.1.1 |
3.1.2 | 3.1.2 |
crypto |
^3.0.3 |
3.0.6 | 3.0.6 |
dart_jsonwebtoken |
^2.12.2 |
2.14.1 | 2.14.1 |
decimal |
>=2.3.3 <4.0.0 |
3.1.0 | 3.1.0 |
dio |
^5.1.2 |
5.7.0 | 5.7.0 |
ed25519_edwards |
^0.3.1 |
0.3.1 | 0.3.1 |
edwards25519 |
^1.0.4 |
1.0.4 | 1.0.4 |
enum_to_string |
^2.0.1 |
2.0.1 | 2.0.1 |
equatable |
^2.0.3 |
2.0.7 | 2.0.7 |
fixnum |
^1.0.1 |
1.1.1 | 1.1.1 |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 |
meta |
^1.4.0 |
1.16.0 | 1.16.0 |
pointycastle |
^3.7.4 |
3.9.1 | 3.9.1 |
recase |
^4.0.0 |
4.1.0 | 4.1.0 |
sprintf |
>=6.0.0 <8.0.0 |
7.0.0 | 7.0.0 |
thirds |
^0.2.0-alpha.1 |
0.2.0-alpha.1 | 0.2.0-alpha.1 |
uuid |
>=3.0.4 <5.0.0 |
4.5.1 | 4.5.1 |
x25519 |
^0.1.1 |
0.1.1 | 0.1.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
adaptive_number |
- | 1.0.0 | 1.0.0 |
async |
- | 2.12.0 | 2.12.0 |
clock |
- | 1.1.2 | 1.1.2 |
dio_web_adapter |
- | 2.0.0 | 2.0.0 |
http |
- | 1.2.2 | 1.2.2 |
http_parser |
- | 4.1.1 | 4.1.1 |
intl |
- | 0.20.0 | 0.20.0 |
js |
- | 0.7.1 | 0.7.1 |
path |
- | 1.9.1 | 1.9.1 |
rational |
- | 2.2.3 | 2.2.3 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.4.0 | 1.4.0 |
web |
- | 0.5.1 | 1.1.0 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 6 errors:
ARGUMENT_TYPE_NOT_ASSIGNABLE
-lib/src/client.dart:60:11
- The argument type 'MixinApiError' can't be assigned to the parameter type 'DioError'.EXTENDS_NON_CLASS
-lib/src/error/mixin_api_error.dart:5:29
- Classes can only extend other classes.SUPER_FORMAL_PARAMETER_WITHOUT_ASSOCIATED_NAMED
-lib/src/error/mixin_api_error.dart:7:20
- No associated named super constructor parameter.
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.22.15
, Dart 3.5.4
.
Check the analysis log for details.