PaymentTokenRequest.fromMap constructor
Implementation
factory PaymentTokenRequest.fromMap(Map<String, dynamic> map) {
return PaymentTokenRequest(
accountId: map['account_id'],
method: map['method'],
test: map['test'],
paymentData: PaymentInfoModel.fromMap(map['data']),
);
}