User constructor

const User(
  1. String id,
  2. String name
)

Implementation

const User(this.id, this.name);