copyWith method
label takes a (double, double) or null (auto), color a name or
null (none); left out, each is kept.
Implementation
RoomParams copyWith(
{double? seedX,
double? seedY,
String? name,
Object? label = _keep,
Object? color = _keep}) =>
RoomParams(seedX ?? this.seedX, seedY ?? this.seedY, name ?? this.name,
label:
identical(label, _keep) ? this.label : label as (double, double)?,
color: identical(color, _keep) ? this.color : color as String?);