Receipt constructor

const Receipt(
  1. User user,
  2. DateTime time
)

Implementation

const Receipt(this.user, this.time);