copyWith method
Implementation
UiTargetSnapshot copyWith({
String? target,
Map<String, Object?>? data,
String? sourceHash,
DateTime? fetchedAt,
String? source,
}) {
return UiTargetSnapshot(
target: target ?? this.target,
data: data ?? this.data,
sourceHash: sourceHash ?? this.sourceHash,
fetchedAt: fetchedAt ?? this.fetchedAt,
source: source ?? this.source,
);
}