copyWith method

NmZone copyWith({
  1. String? name,
  2. String? region,
  3. String? icon,
  4. List<String>? defCodes,
  5. String? billingCode,
  6. List<NmGroupRule>? groupRules,
})

Copy with.

Implementation

NmZone copyWith({String? name, String? region, String? icon, List<String>? defCodes, String? billingCode, List<NmGroupRule>? groupRules}) => NmZone(
  id: id,
  name: name ?? this.name,
  region: region ?? this.region,
  icon: icon ?? this.icon,
  defCodes: defCodes ?? this.defCodes,
  billingCode: billingCode ?? this.billingCode,
  groupRules: groupRules ?? this.groupRules,
);