copyWith method
Implementation
Material copyWith({
int? id,
int? courseOffering,
Value<String?> title = const Value.absent(),
Value<String?> href = const Value.absent(),
}) => Material(
id: id ?? this.id,
courseOffering: courseOffering ?? this.courseOffering,
title: title.present ? title.value : this.title,
href: href.present ? href.value : this.href,
);