CurrenciesResponse class

Response model for currency list API calls.

Contains a list of available currencies that can be used in payment transactions. Extends BaseResponse to provide standard response structure with success status, message, and data fields.

Example:

final response = CurrenciesResponse.fromJson(jsonData);
if (response.success) {
  final currencies = response.data; // List<CurrencyData>
}
Inheritance

Constructors

CurrenciesResponse.new({required bool success, String? message, List<CurrencyData>? data})
CurrenciesResponse.fromJson(dynamic json)
factory

Properties

data List<CurrencyData>?
The actual data payload of the response.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
message String?
Human-readable message describing the response result.
finalinherited
responseCode int?
The response code associated with this response.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool
Indicates whether the API operation was successful.
finalinherited

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