swervpay_dart 0.0.3 swervpay_dart: ^0.0.3 copied to clipboard
Dart Client for Swervpay. API Wrapper for everything that Swervpay offer for Flutter/Dart Developer.
Dart Client for Swervpay
X (Twitter) · Linkedin · Changelog
Installation #
$ flutter pub add swervpay_dart
# OR
$ dart pub add swervpay_dart
Configuration #
Create a new instance of Swervpay with your secret_key and business_id:
import "package:swervpay_dart/swervpay_dart.dart";
final SwervpayClient swerpvay = SwervpayClient(config: SwervpayClientConfig(businessId: '<BUSINESS_ID>', secretKey: '<SECRET_KEY>'))
Replace <SECRET_KEY> and <BUSINESS_ID> with your actual secret key and business ID.