copyWith method
NmPropertyClusterData
copyWith({
- String? id,
- NmRelationType? relationType,
- List<
NmClusteredProperty> ? properties, - Offset? center,
- double? radius,
- bool? isExpanded,
Copy with.
Implementation
NmPropertyClusterData copyWith({
String? id,
NmRelationType? relationType,
List<NmClusteredProperty>? properties,
Offset? center,
double? radius,
bool? isExpanded,
}) {
return NmPropertyClusterData(
id: id ?? this.id,
relationType: relationType ?? this.relationType,
properties: properties ?? this.properties,
center: center ?? this.center,
radius: radius ?? this.radius,
isExpanded: isExpanded ?? this.isExpanded,
);
}