built_value_in_app_purchase 1.0.3
built_value_in_app_purchase #
built_value models that match google's in_app_purchase models with parsing included.
Getting Started #
Import
import 'package:built_value_in_app_purchase/built_value_in_app_purchase.dart'
as built_value_purchase_details;
Use
built_value_purchase_details.PurchaseDetails.fromCustomFactory(
action.purchaseDetails);
Don't forget to register the serializers.
[0.0.1] - TODO: Add release date.
- TODO: Describe initial release.
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies:
built_value_in_app_purchase: ^1.0.3
2. Install it
You can install packages from the command line:
with Flutter:
$ flutter pub get
Alternatively, your editor might support flutter pub get
.
Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
import 'package:built_value_in_app_purchase/built_value_in_app_purchase.dart';
Popularity:
Describes how popular the package is relative to other packages.
[more]
|
19
|
Health:
Code health derived from static analysis.
[more]
|
100
|
Maintenance:
Reflects how tidy and up-to-date the package is.
[more]
|
80
|
Overall:
Weighted score of the above.
[more]
|
56
|
We analyzed this package on Dec 10, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.6.1
- pana: 0.12.21
- Flutter: 1.9.1+hotfix.6
Maintenance issues and suggestions
Support latest dependencies. (-10 points)
The version constraint in pubspec.yaml
does not support the latest published versions for 1 dependency (built_value
).
Maintain an example. (-10 points)
Create a short demo in the example/
directory to show how to use this package.
Common filename patterns include main.dart
, example.dart
, and built_value_in_app_purchase.dart
. Packages with multiple examples should provide example/README.md
.
For more information see the pub package layout conventions.
Dependencies
Package | Constraint | Resolved | Available |
---|---|---|---|
Direct dependencies | |||
Dart SDK | >=2.1.0 <3.0.0 | ||
built_value | ^6.7.0 | 6.8.2 | 7.0.0 |
flutter | 0.0.0 | ||
in_app_purchase | ^0.2.0+6 | 0.2.2+3 | 0.2.2+4 |
Transitive dependencies | |||
analyzer | 0.38.5 | 0.39.2+1 | |
analyzer_plugin | 0.2.1 | ||
args | 1.5.2 | ||
async | 2.4.0 | ||
build | 1.2.2 | ||
build_config | 0.4.1+1 | ||
built_collection | 4.2.2 | 4.3.0 | |
charcode | 1.1.2 | ||
checked_yaml | 1.0.2 | ||
collection | 1.14.11 | 1.14.12 | |
convert | 2.1.1 | ||
crypto | 2.1.4 | ||
csslib | 0.16.1 | ||
dart_style | 1.3.3 | ||
fixnum | 0.10.11 | ||
front_end | 0.1.27 | 0.1.29 | |
glob | 1.2.0 | ||
html | 0.14.0+3 | ||
js | 0.6.1+1 | ||
json_annotation | 2.4.0 | 3.0.0 | |
kernel | 0.3.27 | 0.3.29 | |
logging | 0.11.3+2 | ||
matcher | 0.12.6 | ||
meta | 1.1.7 | 1.1.8 | |
node_interop | 1.0.3 | ||
node_io | 1.0.1+2 | ||
package_config | 1.1.0 | ||
path | 1.6.4 | ||
pedantic | 1.9.0 | ||
pub_semver | 1.4.2 | ||
pubspec_parse | 0.1.5 | ||
quiver | 2.1.2+1 | ||
sky_engine | 0.0.99 | ||
source_gen | 0.9.4+6 | ||
source_span | 1.5.5 | ||
stack_trace | 1.9.3 | ||
string_scanner | 1.0.5 | ||
term_glyph | 1.1.0 | ||
typed_data | 1.1.6 | ||
vector_math | 2.0.8 | ||
watcher | 0.9.7+13 | ||
yaml | 2.2.0 | ||
Dev dependencies | |||
build_runner | ^1.0.0 | ||
built_value_generator | ^6.7.0 | 6.8.2 | 7.0.0 |
flutter_test |