filled static method
Creates a NSMutableArray of the given length with fill at each
position.
The length must be a non-negative integer.
Implementation
static NSMutableArray filled(int length, objc.ObjCObject fill) {
final a = arrayWithCapacity(length);
for (var i = 0; i < length; ++i) a.addObject(fill);
return a;
}