copyWith method
HomelidoBlogPost
copyWith({
- int? id,
- dynamic title,
- dynamic excerpt,
- dynamic postUrl,
- dynamic pictureUrl,
- dynamic countryCode,
- dynamic languageCode,
- 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,
);