copyWith method

Photo copyWith({
  1. bool? hasStickers,
  2. Minithumbnail? minithumbnail,
  3. List<PhotoSize>? sizes,
})

Implementation

Photo copyWith({
  bool? hasStickers,
  Minithumbnail? minithumbnail,
  List<PhotoSize>? sizes,
}) =>
    Photo(
      hasStickers: hasStickers ?? this.hasStickers,
      minithumbnail: minithumbnail ?? this.minithumbnail,
      sizes: sizes ?? this.sizes,
    );