copyWith method

NmTriageCard copyWith({
  1. String? id,
  2. String? address,
  3. double? fviScore,
  4. String? thumbnailUrl,
  5. NmTriageZone? zone,
})

Copy with.

Implementation

NmTriageCard copyWith({String? id, String? address, double? fviScore, String? thumbnailUrl, NmTriageZone? zone}) {
  return NmTriageCard(
    id: id ?? this.id,
    address: address ?? this.address,
    fviScore: fviScore ?? this.fviScore,
    thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
    zone: zone ?? this.zone,
  );
}