ResponsePage constructor

ResponsePage(
  1. dynamic xddb
)

Constructs a ResponsePage based on the provided xddb value.

Implementation

ResponsePage(xddb) {
  this.type = ResponsePageType.values[(xddb & 0xff) - 1];
  if (this.type == ResponsePageType.DEVICE_CHECK) {
    options = DeviceCheckOptions(xddb >> 8);
  }
}