ListAllRefundResponse.fromMap constructor

ListAllRefundResponse.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory ListAllRefundResponse.fromMap(Map<String, dynamic> map) {
  return ListAllRefundResponse(
    hasMore: map['hasMore'] ?? false,
    data: List<RefundResponseAttributes>.from(
      map['data']?.map(RefundResponseAttributes.fromMap) ?? const [],
    ),
  );
}