copyWith method
Implementation
ListOptions copyWith({
String? indexList,
List? list,
String? title,
String? description
}) {
return ListOptions(
indexList: indexList ?? this.indexList,
list: list ?? this.list,
title: title ?? this.title,
description: description ?? this.description
);
}