copyWith method
Implementation
PreloadSnapshot copyWith({
int? total,
int? completed,
int? accepted,
bool? done,
bool? cancelled,
Object? error,
StackTrace? stackTrace,
}) {
return PreloadSnapshot(
total: total ?? this.total,
completed: completed ?? this.completed,
accepted: accepted ?? this.accepted,
done: done ?? this.done,
cancelled: cancelled ?? this.cancelled,
error: error ?? this.error,
stackTrace: stackTrace ?? this.stackTrace,
);
}