rename constructor

const rename(
  1. String newName
)

Implementation

const rename(this.newName);