replaceItem method Null safety

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

Implementation

Point replaceItem(Point newItem, int index) native;