copyWith method
SpinnerEntity
copyWith({
- String? key,
- bool? isRadio,
- String? title,
- MoreContentType? type,
- String? desc,
- String? titleSuffix,
- dynamic extraData,
- List<
SpinnerItemData> ? items,
Implementation
SpinnerEntity copyWith({
String? key,
bool? isRadio,
String? title,
MoreContentType? type,
String? desc,
String? titleSuffix,
dynamic extraData,
List<SpinnerItemData>? items,
}) =>
SpinnerEntity(
key: key ?? this.key,
isRadio: isRadio ?? this.isRadio,
title: title ?? this.title,
type: type ?? this.type,
desc: desc ?? this.desc,
titleSuffix: titleSuffix ?? this.titleSuffix,
items: items ?? this.items,
extraData: extraData,
);