UserName constructor

const UserName({
  1. dynamic key,
  2. required User author,
})

Creates user name.

Implementation

const UserName({
  key,
  required this.author,
}): super(key: key);