copyWith method

NmGalaxyPoint copyWith({
  1. String? propertyId,
  2. double? x,
  3. double? y,
  4. double? radius,
  5. Color? color,
  6. double? opacity,
})

Copy with.

Implementation

NmGalaxyPoint copyWith({String? propertyId, double? x, double? y, double? radius, Color? color, double? opacity}) => NmGalaxyPoint(
  propertyId: propertyId ?? this.propertyId,
  x: x ?? this.x,
  y: y ?? this.y,
  radius: radius ?? this.radius,
  color: color ?? this.color,
  opacity: opacity ?? this.opacity,
);