copyWith method
Implementation
EnhancedTagModel copyWith(
{String? id,
dynamic tagTypeCode,
String? startTime,
dynamic endTime,
DateTime? startDay,
dynamic endDay,
dynamic comment,
dynamic customName}) {
return EnhancedTagModel(
id: id ?? this.id,
tagTypeCode: tagTypeCode ?? this.tagTypeCode,
startTime: startTime ?? this.startTime,
endTime: endTime ?? this.endTime,
startDay: startDay ?? this.startDay,
endDay: endDay ?? this.endDay,
comment: comment ?? this.comment,
customName: customName ?? this.customName);
}