copyWith method

HomelidoBlogPost copyWith({
  1. int? id,
  2. dynamic title,
  3. dynamic excerpt,
  4. dynamic postUrl,
  5. dynamic pictureUrl,
  6. dynamic countryCode,
  7. dynamic languageCode,
  8. dynamic postedAt,
})

Implementation

HomelidoBlogPost copyWith({
  int? id,
  dynamic title,
  dynamic excerpt,
  dynamic postUrl,
  dynamic pictureUrl,
  dynamic countryCode,
  dynamic languageCode,
  dynamic postedAt,
}) =>
    HomelidoBlogPost(
      id: id ?? this.id,
      title: title ?? this.title,
      excerpt: excerpt ?? this.excerpt,
      postUrl: postUrl ?? this.postUrl,
      pictureUrl: pictureUrl ?? this.pictureUrl,
      countryCode: countryCode ?? this.countryCode,
      languageCode: languageCode ?? this.languageCode,
      postedAt: postedAt ?? this.postedAt,
    );