copyWith method

PageBlockChatLink copyWith({
  1. String? title,
  2. ChatPhotoInfo? photo,
  3. int? accentColorId,
  4. String? username,
})

Implementation

PageBlockChatLink copyWith({
  String? title,
  ChatPhotoInfo? photo,
  int? accentColorId,
  String? username,
}) => PageBlockChatLink(
  title: title ?? this.title,
  photo: photo ?? this.photo,
  accentColorId: accentColorId ?? this.accentColorId,
  username: username ?? this.username,
);