copyWith method
CourseSettings
copyWith({
- CourseSkillLevel? skillLevel,
- bool? isSkillLevelEnabled,
- String? syllabusUrl,
- String? timeChannelUrl,
Implementation
CourseSettings copyWith({
enums.CourseSkillLevel? skillLevel,
bool? isSkillLevelEnabled,
String? syllabusUrl,
String? timeChannelUrl,
}) {
return CourseSettings(
skillLevel: skillLevel ?? this.skillLevel,
isSkillLevelEnabled: isSkillLevelEnabled ?? this.isSkillLevelEnabled,
syllabusUrl: syllabusUrl ?? this.syllabusUrl,
timeChannelUrl: timeChannelUrl ?? this.timeChannelUrl,
);
}