PaymentListResponse.fromMap constructor
Implementation
factory PaymentListResponse.fromMap(Map<String, dynamic> map) {
return PaymentListResponse(
hasMore: map['has_more'] ?? false,
data: List<PaymentListAllResponse>.from(
map['data']?.map(PaymentListAllResponse.fromMap) ?? const [],
),
);
}