asBatch<T extends Ref> method

List<T> asBatch <T extends Ref>(
  1. int length
)

转换为批处理

Implementation

List<T> asBatch<T extends Ref>(int length) {
  assert(length > 0);
  return List.filled(length, this);
}