masamune_purchase 2.5.12
masamune_purchase: ^2.5.12 copied to clipboard
Masamune plugin package that contains the base implementation for implementing InAppPurchase and an adapter for mocking.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add masamune_purchase
With Flutter:
$ flutter pub add masamune_purchase
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
masamune_purchase: ^2.5.12
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:masamune_purchase/masamune_purchase.dart';