selectFirst method

List<T> selectFirst()

选择第一个元素

Implementation

List<T> selectFirst() {
  if (this.isNotEmpty) {
    first.isSelected == true;
  }
  return this;
}