copyWith method
Implementation
ZoneData copyWith({
String? zoneName,
int? zoneType,
int? zoneLedsMin,
int? zoneLedsMax,
int? zoneLedsCount,
int? zoneMatrixHeight,
int? zoneMatrixWidth,
List<int>? zoneMatrix,
}) {
return ZoneData(
zoneName: zoneName ?? this.zoneName,
zoneType: zoneType ?? this.zoneType,
zoneLedsMin: zoneLedsMin ?? this.zoneLedsMin,
zoneLedsMax: zoneLedsMax ?? this.zoneLedsMax,
zoneLedsCount: zoneLedsCount ?? this.zoneLedsCount,
zoneMatrixHeight: zoneMatrixHeight ?? this.zoneMatrixHeight,
zoneMatrixWidth: zoneMatrixWidth ?? this.zoneMatrixWidth,
zoneMatrix: zoneMatrix ?? this.zoneMatrix,
);
}