Name constructor

const Name({
  1. String? title,
  2. String? first,
  3. String? last,
})

A constructor that takes in the parameters and assigns them to the variables.

Implementation

const Name({
  this.title,
  this.first,
  this.last,
});