KhaltiConfig class

The configuration class for Khalti Payment Gateway.

Constructors

KhaltiConfig({required String platform, required String osVersion, required String deviceModel, required String deviceManufacturer, required String packageName, required String packageVersion})
Default constructor for the configuration.
KhaltiConfig.platformOnly()
A factory constructor that only configures the platform and ignores everything else.
factory

Properties

deviceManufacturer String
The device manufacturer.
final
deviceModel String
The device model.
final
hashCode int
The hash code for this object.
no setterinherited
osVersion String
The OS version.
final
packageName String
The application package name.
final
packageVersion String
Tha application package version.
final
platform String
The device platform.
final
raw Map<String, String>
The map representation of KhaltiConfig.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
The version of the Khalti Payment Gateway Library.
final

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