moment constructor

const moment(
  1. String date
)

Implementation

const moment(this.date);