AddBalanceRequest.fromMap constructor
Creates an instance of AddBalanceRequest from a map.
map is the map containing the data.
Implementation
factory AddBalanceRequest.fromMap(Map<String, dynamic> map) {
return AddBalanceRequest(
customerId: map['customerId'],
paymentMethodId: map['paymentMethodId'],
amount: map['amount'],
);
}