appendSpace method

List<K> appendSpace(
  1. K space
)

仅添加空隙

Implementation

List<K> appendSpace(K space) {
  return expand((element) sync* {
    yield space;
    yield element;
  }).skip(1).toList();
}