getButtonText method

String getButtonText()

Returns button text or default

Implementation

String getButtonText() {
  return buttonText ?? "Make Payment";
}