PaymentMethodResponse.fromMap constructor
Implementation
factory PaymentMethodResponse.fromMap(Map<String, dynamic> map) {
return PaymentMethodResponse(
id: map['id'] ?? '',
type: map['type'] ?? '',
attributes: PaymentMethodAttributesResponse.fromMap(map['attributes']),
);
}