copyWith method
Copy with.
Implementation
NmMapLayer copyWith({NmMapLayerType? type, bool? isVisible, double? opacity, int? count}) {
return NmMapLayer(type: type ?? this.type, isVisible: isVisible ?? this.isVisible, opacity: opacity ?? this.opacity, count: count ?? this.count);
}