getPaymentProductGroupById method

BasicPaymentProductGroup? getPaymentProductGroupById(
  1. String paymentProductGroupId
)

Implementation

BasicPaymentProductGroup? getPaymentProductGroupById(
    String paymentProductGroupId) {
  for (var group in basicPaymentProductGroups) {
    if (group.id == paymentProductGroupId) {
      return group;
    }
  }
  return null;
}