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