copyWith method
      
Point
copyWith({ 
    
- GlobeCoordinates? coordinates,
- String? label,
- Widget? labelBuilder(- BuildContext context,
- Point point,
- bool isHovering,
- bool isVisible,
 
- bool? isLabelVisible,
- Offset? labelOffset,
- String? id,
- PointStyle? style,
- TextStyle? labelTextStyle,
- VoidCallback? onTap,
- VoidCallback? onHover,
Creates a copy of the Point object with the specified properties overridden.
Implementation
Point copyWith({
  GlobeCoordinates? coordinates,
  String? label,
  Widget? Function(
          BuildContext context, Point point, bool isHovering, bool isVisible)?
      labelBuilder,
  bool? isLabelVisible,
  Offset? labelOffset,
  String? id,
  PointStyle? style,
  TextStyle? labelTextStyle,
  VoidCallback? onTap,
  VoidCallback? onHover,
}) {
  return Point(
    coordinates: coordinates ?? this.coordinates,
    label: label ?? this.label,
    labelBuilder: labelBuilder ?? this.labelBuilder,
    isLabelVisible: isLabelVisible ?? this.isLabelVisible,
    labelOffset: labelOffset ?? this.labelOffset,
    id: id ?? this.id,
    style: style ?? this.style,
    labelTextStyle: labelTextStyle ?? this.labelTextStyle,
    onTap: onTap ?? this.onTap,
    onHover: onHover ?? this.onHover,
  );
}