Khalti class abstract

The entrypoint class for Khalti.

Constructors

Khalti()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

debugKhaltiServiceOverride KhaltiService
Overrides Khalti.service with the provided service.
no getter
service KhaltiService
A http service to make requests to Khalti APIs.
no setter

Static Methods

init({required String publicKey, KhaltiConfig? config, bool enabledDebugging = false}) Future<void>
Initializes Khalti Configuration.