getPaymentProductFieldById method

PaymentProductField? getPaymentProductFieldById(
  1. String paymentProductFieldId
)

Implementation

PaymentProductField? getPaymentProductFieldById(
    String paymentProductFieldId) {
  for (PaymentProductField field in fields) {
    if (field.id == paymentProductFieldId) {
      return field;
    }
  }
  return null;
}