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