PaymentDataResponse.fromMap constructor
Implementation
factory PaymentDataResponse.fromMap(Map<String, dynamic> map) {
return PaymentDataResponse(
id: map['id'] ?? '',
type: map['type'] ?? '',
attributes: map['attributes'] != null
? PaymentAttributesResponse.fromMap(map['attributes'])
: null,
);
}