ravepay 0.0.1+3

  • Readme
  • Changelog
  • Installing
  • 66

💳 RavePay Dart SDK #

Build Status - Travis codecov pub package

Installing #

  ravepay: "^0.0.1+3"

Import #

import 'package:ravepay/ravepay.dart';

Usage #

import 'package:ravepay/ravepay.dart';

main() {
  Ravepay.init(production: false, publicKey: "PUBK_TEST", secretKey: "SECK_TEST");

Features and bugs #

Please file feature requests and bugs at the issue tracker.

License #

MIT License

ChangeLog for RavePay SDK #

RavePay by Flutterwave Dart SDK. http://rave.flutterwave.com

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  ravepay: ^0.0.1+3

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or 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:ravepay/ravepay.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Apr 7, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.6

Health suggestions

Format lib/src/api/banks.dart.

Run dartfmt to format lib/src/api/banks.dart.

Format lib/src/api/charge.dart.

Run dartfmt to format lib/src/api/charge.dart.

Format lib/src/api/pre_auth.dart.

Run dartfmt to format lib/src/api/pre_auth.dart.

Fix additional 22 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/api/transactions.dart (Run dartfmt to format lib/src/api/transactions.dart.)
  • lib/src/api/validate.dart (Run dartfmt to format lib/src/api/validate.dart.)
  • lib/src/constants/strings.dart (Run dartfmt to format lib/src/constants/strings.dart.)
  • lib/src/models/bank.dart (Run dartfmt to format lib/src/models/bank.dart.)
  • lib/src/models/card.dart (Run dartfmt to format lib/src/models/card.dart.)
  • lib/src/models/card_token.dart (Run dartfmt to format lib/src/models/card_token.dart.)
  • lib/src/models/charge_param.dart (Run dartfmt to format lib/src/models/charge_param.dart.)
  • lib/src/models/charge_token.dart (Run dartfmt to format lib/src/models/charge_token.dart.)
  • lib/src/models/customer.dart (Run dartfmt to format lib/src/models/customer.dart.)
  • lib/src/models/metadata.dart (Run dartfmt to format lib/src/models/metadata.dart.)
  • lib/src/models/result.dart (Run dartfmt to format lib/src/models/result.dart.)
  • lib/src/models/validate/data.dart (Run dartfmt to format lib/src/models/validate/data.dart.)
  • lib/src/models/validate/tx.dart (Run dartfmt to format lib/src/models/validate/tx.dart.)
  • lib/src/models/validate/validate_result.dart (Run dartfmt to format lib/src/models/validate/validate_result.dart.)
  • lib/src/models/verify/verify_result.dart (Run dartfmt to format lib/src/models/verify/verify_result.dart.)
  • lib/src/ravepay.dart (Run dartfmt to format lib/src/ravepay.dart.)
  • lib/src/utils/encryption.dart (Run dartfmt to format lib/src/utils/encryption.dart.)
  • lib/src/utils/exceptions.dart (Run dartfmt to format lib/src/utils/exceptions.dart.)
  • lib/src/utils/http_wrapper.dart (Run dartfmt to format lib/src/utils/http_wrapper.dart.)
  • lib/src/utils/local_server.dart (Run dartfmt to format lib/src/utils/local_server.dart.)
  • lib/src/utils/payload.dart (Run dartfmt to format lib/src/utils/payload.dart.)
  • lib/src/utils/response.dart (Run dartfmt to format lib/src/utils/response.dart.)

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).

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

Maintain an example.

None of the files in the package's example/ directory matches known example patterns.

Common filename patterns include main.dart, example.dart, and ravepay.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.6.0-dev <3.0.0
built_collection ^4.2.2 4.3.2
built_value ^6.8.2 6.8.2 7.0.9
convert ^2.1.1 2.1.1
crypto ^2.1.4 2.1.4
http ^0.12.0+2 0.12.0+4
meta ^1.1.7 1.1.8
tripledes ^2.1.0 2.1.0
Transitive dependencies
analyzer 0.38.5 0.39.6
analyzer_plugin 0.2.1
args 1.6.0
async 2.4.1
build 1.2.2
build_config 0.4.2
charcode 1.1.3
checked_yaml 1.0.2
collection 1.14.12
csslib 0.16.1
dart_style 1.3.3 1.3.4
fixnum 0.10.11
front_end 0.1.27 0.1.29
glob 1.2.0
html 0.14.0+3
http_parser 3.1.4
js 0.6.1+1
json_annotation 3.0.1
kernel 0.3.27 0.3.29
logging 0.11.4
matcher 0.12.6
node_interop 1.0.3
node_io 1.0.1+2
package_config 1.9.3
path 1.6.4
pub_semver 1.4.4
pubspec_parse 0.1.5
quiver 2.1.3
source_gen 0.9.4+6 0.9.5
source_span 1.7.0
stack_trace 1.9.3
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
watcher 0.9.7+14
yaml 2.2.0
Dev dependencies
build_runner ^1.7.2
built_value_generator ^6.8.2 6.8.2 7.0.9
pedantic ^1.8.0 1.9.0
test ^1.9.0