organization_service 0.0.21
organization_service: ^0.0.21 copied to clipboard
MyCS organization management service module
We analyzed this package in the last hour, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/appbricks/mycloudspace/tree/main/libs/shared/service/flutter/organization was unreachable. Make sure that the website is reachable via HEAD requests.
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: GPL-3.0.
10/10 points: 20% or more of the public API has dartdoc comments
88 out of 205 API elements (42.9 %) have documentation comments.
Some symbols that are missing documentation: exceptions, exceptions.OrgDataReadError, exceptions.OrgDataReadError.OrgDataReadError.new, exceptions.OrgDataReadError.innerException, exceptions.OrgDataReadError.innerStackTrace.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:organization_service/organization_service.dartthat imports:package:organization_service/provider/user_space_org_service.dartthat imports:package:amplify_flutter/amplify_flutter.dartthat imports:package:amplify_secure_storage/amplify_secure_storage.dartthat imports:package:amplify_secure_storage/src/amplify_secure_storage.vm.dartthat imports:package:amplify_secure_storage_dart/src/utils/file_key_value_store.dartthat declares support for platforms:iOS,Windows,Linux,macOS,Web.
Package does not support platform `iOS`.
Because:
package:organization_service/organization_service.dartthat imports:package:organization_service/provider/user_space_org_service.dartthat imports:package:amplify_flutter/amplify_flutter.dartthat imports:package:amplify_secure_storage/amplify_secure_storage.dartthat imports:package:amplify_secure_storage/src/amplify_secure_storage.vm.dartthat imports:package:amplify_secure_storage_dart/amplify_secure_storage_dart.dartthat imports:package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.dartthat imports:package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.vm.dartthat imports:package:amplify_secure_storage_dart/src/platforms/amplify_secure_storage_windows.dartthat imports:package:amplify_secure_storage_dart/src/ffi/win32/data_protection.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `Linux`.
Because:
package:organization_service/organization_service.dartthat imports:package:organization_service/provider/user_space_org_service.dartthat imports:package:amplify_flutter/amplify_flutter.dartthat imports:package:amplify_secure_storage/amplify_secure_storage.dartthat imports:package:amplify_secure_storage/src/amplify_secure_storage.vm.dartthat imports:package:amplify_secure_storage_dart/amplify_secure_storage_dart.dartthat imports:package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.dartthat imports:package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.vm.dartthat imports:package:amplify_secure_storage_dart/src/platforms/amplify_secure_storage_windows.dartthat imports:package:amplify_secure_storage_dart/src/ffi/win32/data_protection.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:organization_service/organization_service.dartthat imports:package:organization_service/provider/user_space_org_service.dartthat imports:package:amplify_flutter/amplify_flutter.dartthat imports:package:amplify_secure_storage/amplify_secure_storage.dartthat imports:package:amplify_secure_storage/src/amplify_secure_storage.vm.dartthat imports:package:amplify_secure_storage_dart/amplify_secure_storage_dart.dartthat imports:package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.dartthat imports:package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.vm.dartthat imports:package:amplify_secure_storage_dart/src/platforms/amplify_secure_storage_windows.dartthat imports:package:amplify_secure_storage_dart/src/ffi/win32/data_protection.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package not compatible with platform Web
Because:
package:organization_service/organization_service.dartthat imports:package:organization_service/provider/provider_events.dartthat imports:package:app_framework_component/app_framework.dartthat imports:package:app_framework_component/bloc/storage.dartthat imports:package:flutter_secure_storage/flutter_secure_storage.dartthat imports:package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:organization_service/organization_service.dartthat imports:package:organization_service/provider/provider_events.dartthat imports:package:app_framework_component/app_framework.dartthat imports:package:app_framework_component/bloc/storage.dartthat imports:package:flutter_secure_storage/flutter_secure_storage.dartthat imports:package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dartthat imports:dart:io
This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: Missing type annotation.
lib/bloc/organization_state.dart:15:7
╷
15 │ get owned => organizations.where((org) => org.isOwner).toList();
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/bloc/organization_state.dart
INFO: Library names are not necessary.
lib/organization_service.dart:1:9
╷
1 │ library organization_service;
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/organization_service.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
amplify_api |
^2.6.1 |
2.7.0 | 2.7.0 | |
amplify_auth_cognito |
^2.6.1 |
2.7.0 | 2.7.0 | |
amplify_flutter |
^2.6.1 |
2.7.0 | 2.7.0 | |
app_framework_component |
any |
0.0.31 | 0.0.31 | |
bloc |
^9.0.0 |
9.1.0 | 9.1.0 | |
dio |
^5.8.0+1 |
5.9.0 | 5.9.0 | |
equatable |
^2.0.5 |
2.0.7 | 2.0.7 | |
get_it |
^8.0.3 |
8.3.0 | 9.0.5 | |
intl |
^0.20.2 |
0.20.2 | 0.20.2 | |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 | |
logging |
^1.2.0 |
1.3.0 | 1.3.0 | |
user_space_model |
any |
0.0.7 | 0.0.7 | |
utilities_ab |
any |
0.0.7 | 0.0.7 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
adaptive_number |
- | 1.0.0 | 1.0.0 | |
amplify_analytics_pinpoint |
- | 2.7.0 | 2.7.0 | |
amplify_analytics_pinpoint_dart |
- | 0.4.12 | 0.4.12 | |
amplify_api_dart |
- | 0.5.12 | 0.5.12 | |
amplify_auth_cognito_dart |
- | 0.11.14 | 0.11.14 | |
amplify_core |
- | 2.7.0 | 2.7.0 | |
amplify_db_common |
- | 0.4.14 | 0.4.14 | |
amplify_db_common_dart |
- | 0.4.13 | 0.4.13 | |
amplify_secure_storage |
- | 0.5.13 | 0.5.13 | |
amplify_secure_storage_dart |
- | 0.5.8 | 0.5.8 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
aws_common |
- | 0.7.11 | 0.7.11 | |
aws_signature_v4 |
- | 0.6.9 | 0.6.9 | |
built_collection |
- | 5.1.1 | 5.1.1 | |
built_value |
- | 8.12.0 | 8.12.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus |
- | 6.1.5 | 7.0.0 | |
connectivity_plus_platform_interface |
- | 2.0.1 | 2.0.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crclib |
- | 3.0.0 | 3.0.0 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dart_jsonwebtoken |
- | 3.3.1 | 3.3.1 | |
dbus |
- | 0.7.11 | 0.7.11 | |
device_info_plus |
- | 12.2.0 | 12.2.0 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
drift |
- | 2.29.0 | 2.29.0 | |
ed25519_edwards |
- | 0.3.1 | 0.3.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_bloc |
- | 9.1.1 | 9.1.1 | |
flutter_secure_storage |
- | 9.2.4 | 9.2.4 | |
flutter_secure_storage_linux |
- | 1.2.3 | 2.0.1 | |
flutter_secure_storage_macos |
- | 3.1.3 | 4.0.0 | |
flutter_secure_storage_platform_interface |
- | 1.1.2 | 2.0.1 | |
flutter_secure_storage_web |
- | 1.2.1 | 2.0.0 | |
flutter_secure_storage_windows |
- | 3.1.2 | 4.0.0 | |
freezed_annotation |
- | 2.4.4 | 3.1.0 | |
graphs |
- | 2.3.2 | 2.3.2 | |
hive_ce |
- | 2.15.1 | 2.15.1 | |
http |
- | 1.6.0 | 1.6.0 | |
http2 |
- | 2.3.1 | 2.3.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
hydrated_bloc |
- | 10.1.1 | 10.1.1 | |
isolate_channel |
- | 0.2.2+1 | 0.2.2+1 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
oauth2 |
- | 2.0.5 | 2.0.5 | |
os_detect |
- | 2.0.3 | 2.0.3 | |
package_info_plus |
- | 9.0.0 | 9.0.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.20 | 2.2.20 | |
path_provider_foundation |
- | 2.4.3 | 2.4.3 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pointycastle |
- | 4.0.0 | 4.0.0 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
retry |
- | 3.1.2 | 3.1.2 | |
shelf |
- | 1.4.2 | 1.4.2 | |
smithy |
- | 0.7.9 | 0.7.9 | |
smithy_aws |
- | 0.7.9 | 0.7.9 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sqlite3 |
- | 2.9.4 | 2.9.4 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
tuple |
- | 2.0.2 | 2.0.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
web_socket_channel |
- | 3.0.3 | 3.0.3 | |
win32 |
- | 5.15.0 | 5.15.0 | |
win32_registry |
- | 2.1.0 | 2.1.0 | |
worker_bee |
- | 0.3.8 | 0.3.8 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^8.0.3` on get_it does not support the stable version `9.0.0`, that was published 8 days ago.
When get_it is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions get_it to update the constraint.
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 25 errors:
NON_TYPE_AS_TYPE_ARGUMENT-lib/bloc/organization_service.dart:411:10- The name 'SubscriptionStatus' isn't a type, so it can't be used as a type argument.NON_TYPE_AS_TYPE_ARGUMENT-lib/model/organization.dart:23:14- The name 'OrgQuota' isn't a type, so it can't be used as a type argument.UNDEFINED_CLASS-lib/model/organization.dart:28:9- Undefined class 'SubscriptionStatus'.
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.1, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.