swervpay_dart 0.0.8 copy "swervpay_dart: ^0.0.8" to clipboard
swervpay_dart: ^0.0.8 copied to clipboard

Dart Client for Swervpay. API Wrapper for everything that Swervpay offer for Flutter/Dart Developer.

example/main.dart

import 'package:swervpay_dart/swervpay_dart.dart';

Future<void> main() async {
  // Create a SwervpayClient instance
  final swervpayClient = SwervpayClient(
    config: SwervpayClientConfig(
      businessId: '<BUSINESS_ID>',
      secretKey: '<SECRET_KEY>',
    ),
  );

  // Fetch all banks
  final banks = await swervpayClient.other.banks();

  // Print the banks
  for (final bank in banks) {
    print(bank.bankName);
  }
}
1
likes
160
points
57
downloads

Publisher

verified publishermujhtech.xyz

Weekly Downloads

Dart Client for Swervpay. API Wrapper for everything that Swervpay offer for Flutter/Dart Developer.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

freezed_annotation, http, json_annotation

More

Packages that depend on swervpay_dart