copyWith method
Implementation
Mark copyWith({
Offset? position,
Offset? endPosition,
int? type,
bool? isFocus,
List<String>? imagePaths,
List<String>? imageLinks,
bool? isNew,
}) {
return Mark(
position: position ?? this.position,
endPosition: endPosition ?? this.endPosition,
type: type ?? this.type,
isFocus: isFocus ?? this.isFocus,
imagePaths: imagePaths ?? this.imagePaths,
imageLinks: imageLinks ?? this.imageLinks,
isNew: isNew ?? this.isNew,
);
}