FawrySDK class

A class providing methods to interact with the Fawry SDK.

Inheritance

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

callbackResultStream() Stream
Returns a stream of callback results.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openCardsManager({required FawryLaunchModel launchModel, required String baseURL, required String lang}) Future<bool>
Opens the card manager for Fawry payments.
override
startPayment({required FawryLaunchModel launchModel, required String baseURL, required String lang}) Future<bool>
Initiates the Fawry payment process.
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance FawrySDK
The instance of FawrySDK.
getter/setter pair

Constants

EVENT_CHANNEL_NAME → const String
The name of the event channel for callback results.
LANGUAGE_ARABIC → const String
Language option: Arabic.
LANGUAGE_ENGLISH → const String
Language option: English.
RESPONSE_ERROR → const String
Response code indicating an error.
RESPONSE_PAYMENT_COMPLETED → const String
Response code indicating payment completion.
RESPONSE_SUCCESS → const String
Response code indicating success.