allOf static method

List<MatrixShard> allOf(
  1. int count
)

The shards 1 to count of count.

Implementation

static List<MatrixShard> allOf(int count) => [
      for (var index = 1; index <= count; index++) MatrixShard(index, count),
    ];