copyWith method
Creates a modified copy of the object.
Explicitly specified fields get the specified value, all other fields get the same value of the current object.
Implementation
PathWrapper<Path> copyWith({
  int? assetCount,
  typed_data.Uint8List? thumbnailData,
}) {
  return PathWrapper<Path>(
    path: path,
    assetCount: assetCount ?? this.assetCount,
    thumbnailData: thumbnailData ?? this.thumbnailData,
  );
}