copyWith method
Implementation
ZebraDevice copyWith(
{String? ipAddress,
String? name,
bool? connected,
bool? isWifi,
String? status,
Color? color}) {
return ZebraDevice(
address: ipAddress ?? this.address,
name: name ?? this.name,
connected: connected ?? this.connected,
isWifi: isWifi ?? this.isWifi,
status: status ?? this.status,
color: color ?? this.color);
}