swervpay_dart 0.0.6 copy "swervpay_dart: ^0.0.6" to clipboard
swervpay_dart: ^0.0.6 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
0
pub points
0%
popularity

Publisher

verified publishermujhtech.xyz

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

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

freezed_annotation, http, json_annotation

More

Packages that depend on swervpay_dart