copyWith method

ListOptions copyWith({
  1. String? indexList,
  2. List? list,
  3. String? title,
  4. String? description,
})

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
  );
}