result_dart 2.0.0
result_dart: ^2.0.0 copied to clipboard
Result for dart. It is an implementation based on Kotlin Result and Swift Result.
We analyzed this package 5 days ago, and awarded it 140 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: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting result_dart... Discovering libraries... Linking elements... Precaching local docs for 137312 elements... Initialized dartdoc with 58 libraries Generating docs for library result_dart.dart from package:result_dart/result_dart.dart... Generating docs for library functions.dart from package:result_dart/functions.dart... Documented 2 public libraries in 25.1 seconds ERR: warning: result_dart has no library level documentation comments from result_dart: (file:///tmp/pana_XKTHZT/lib/result_dart.dart:1:1) warning: result_dart has no library level documentation comments from result_dart: (file:///tmp/pana_XKTHZT/lib/functions.dart:1:1) error: file already written at "result_dart/index.html" for symbol result_dart: (file:///tmp/pana_XKTHZT/lib/functions.dart:1:1) conflicting with file already generated by result_dart: (file:///tmp/pana_XKTHZT/lib/result_dart.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'result_dart' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [16 more lines]
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
/tmp/pana_XKTHZT/lib/src/async_result.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
meta |
^1.3.0 |
1.16.0 | 1.16.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.20
, Dart 3.7.2
.
Check the analysis log for details.