copyWith method
Implementation
SnapMapSettings copyWith({
String? themeName,
String? layout,
double? textSize,
double? branchThickness,
bool? isCompact,
}) {
return SnapMapSettings(
themeName: themeName ?? this.themeName,
layout: layout ?? this.layout,
textSize: textSize ?? this.textSize,
branchThickness: branchThickness ?? this.branchThickness,
isCompact: isCompact ?? this.isCompact,
);
}