isBookChildren method

bool isBookChildren(
  1. String mid
)

Implementation

bool isBookChildren(String mid) {
  for (var ele in _bookChildrens) {
    //print('bookChildren=$ele, mid=$mid');
    if (ele == mid.substring(0, ele.length)) return true;
  }
  return false;
}