copyWith method
Implementation
MessagesWithMetadata copyWith({
List<MessageWithMetadata>? messages,
String? locale,
String? context,
String? referencePath,
String? hash,
bool? hasMetadata,
AssetId? assetId,
}) {
return MessagesWithMetadata(
messages ?? this.messages,
locale ?? this.locale,
context ?? this.context,
referencePath ?? this.referencePath,
hash ?? this.hash,
hasMetadata ?? this.hasMetadata,
assetId ?? this.assetId,
);
}