copyWith method
Implementation
TListCard copyWith({int? level, TListCardTheme? theme}) {
return TListCard(
title: title,
subTitle: subTitle,
isSelected: isSelected,
isExpanded: isExpanded,
isDisabled: isDisabled,
multiple: multiple,
level: level ?? this.level,
onTap: onTap,
theme: theme ?? this.theme,
children: children,
);
}