replaceItem method Null safety

Length replaceItem (
  1. Length newItem,
  2. int index
)

Implementation

Length replaceItem(Length newItem, int index) native;