filled static method

NSArray filled(
  1. int length,
  2. ObjCObject fill
)

Creates a NSArray of the given length with fill at each position.

The length must be a non-negative integer.

Implementation

static NSArray filled(int length, objc.ObjCObject fill) =>
    NSMutableArray.filled(length, fill);