Skip to main content

Adullam Dart SDK Overview

The Adullam Dart SDK provides a convenient way to integrate the Adullam platform into your Dart applications. This documentation offers an overview of the SDK’s features, installation instructions, and usage examples.

Installation

To install the Adullam Dart SDK, add the following dependency to your pubspec.yaml file:
dependencies:
  adullam_sdk: ^1.0.0
Then, run flutter pub get to fetch the package.

Features

The Adullam Dart SDK includes the following features:
  • API Integration: Simplified methods to interact with the Adullam REST API.
  • Authentication: Built-in support for various authentication methods, including API keys and OAuth.
  • Event Handling: Easy-to-use interfaces for managing webhooks and real-time notifications.
  • Data Models: Predefined data models for common Adullam entities.

Usage

Here is a basic example of how to use the Adullam Dart SDK to create a new payment:
import 'package:adullam_sdk/adullam_sdk.dart';
void main() async {
  final adullam = Adullam(apiKey: 'your_api_key_here');
  final payment = await adullam.payments.create({
    'amount': 1000,
    'currency': 'USD',
    'source': 'tok_visa',
  });
}

Support

For assistance with the Adullam Dart SDK, please refer to the support documentation or contact our support team at [email protected].