getPaymentProductFieldById method

PaymentProductField? getPaymentProductFieldById(
  1. String id
)

Implementation

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