UserWithPhoto constructor

const UserWithPhoto({
  1. required int userId,
  2. required String name,
  3. String? username,
  4. required bool isBot,
  5. required int lastActivityTime,
  6. String? description,
  7. String? avatarUrl,
  8. String? fullAvatarUrl,
})

Implementation

const UserWithPhoto({
  required super.userId,
  required super.name,
  super.username,
  required super.isBot,
  required super.lastActivityTime,
  this.description,
  this.avatarUrl,
  this.fullAvatarUrl,
});