RPChoice.withParams constructor

RPChoice.withParams(String text, int value)

Default constructor with detailText set to null.

Implementation

RPChoice.withParams(String text, int value) {
  this._text = text;
  this._value = value;
  this._detailText = null;
}