copyWith method
Creates a copy of the PointStyle object with the specified properties overridden.
Implementation
PointStyle copyWith({
double? size,
Color? color,
double? altitude,
int? transitionDuration,
bool? merge,
}) {
return PointStyle(
size: size ?? this.size,
color: color ?? this.color,
altitude: altitude ?? this.altitude,
transitionDuration: transitionDuration ?? this.transitionDuration,
merge: merge ?? this.merge,
);
}