SharedUser constructor

const SharedUser({
  1. required int userId,
  2. String? firstName,
  3. String? lastName,
  4. String? username,
  5. List<PhotoSize>? photo,
})

Creates a SharedUser object.

Implementation

const SharedUser({
  required this.userId,
  this.firstName,
  this.lastName,
  this.username,
  this.photo,
});