isBoxChecked method

bool isBoxChecked()

获取选中状态,如果为空则返回false

Implementation

bool isBoxChecked() {
  return boxChecked ?? false;
}