ResponsePage constructor
ResponsePage(
- dynamic xddb
Constructs a ResponsePage based on the provided xddb
value.
- The
xddb
value is used to determine the ResponsePageType. - If the type is ResponsePageType.DEVICE_CHECK, options will be set to DeviceCheckOptions.
Implementation
ResponsePage(xddb) {
this.type = ResponsePageType.values[(xddb & 0xff) - 1];
if (this.type == ResponsePageType.DEVICE_CHECK) {
options = DeviceCheckOptions(xddb >> 8);
}
}