CreatePaymentAttributes.fromMap constructor
Implementation
factory CreatePaymentAttributes.fromMap(Map<String, dynamic> map) {
return CreatePaymentAttributes(
amount: map['amount'] ?? 0.0,
description: map['description'] ?? '',
currency: map['currency'] ?? '',
statementDescriptor: map['statementDescriptor'] ?? '',
source: PaymentSource.fromMap(map['source']),
);
}