randomOne property

T randomOne

获取随机元素

Implementation

T get randomOne {
  return elementAt(Random().nextInt(length));
}