copyWith method
Copy with.
Implementation
NmPropertyLayer copyWith({NmPropertyLayerType? type, String? title, String? subtitle, Map<String, String>? fields, bool? isExpanded}) {
return NmPropertyLayer(
type: type ?? this.type,
title: title ?? this.title,
subtitle: subtitle ?? this.subtitle,
fields: fields ?? this.fields,
isExpanded: isExpanded ?? this.isExpanded,
);
}