Order class

Represents an order in the payment process.

Constructors

Order({required String currency, required String amount, required String email})
Creates a new instance of Order with the given parameters.
Order.fromJson(Map<String, dynamic> json)
Creates a new instance of Order from a JSON object.
factory

Properties

amount String
The amount for the order.
final
currency String
The currency for the order.
final
email String
The email associated with the order.
final
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
toJson() Map<String, dynamic>
Converts the Order instance to a JSON object.
toString() String
A string representation of this object.
inherited

Operators

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