DateFormatter constructor

const DateFormatter(
  1. Date date
)

make a DateFormatter for a Date object

Implementation

const DateFormatter(this.date);