copyWith method
- bool? isConnected,
- List<
PeripheralParamDTO> ? parameters,
Implementation
PeripheralDTO copyWith(
{bool? isConnected, List<PeripheralParamDTO>? parameters}) {
return PeripheralDTO(
isConnected: isConnected ?? this.isConnected,
parameters: parameters ?? this.parameters);
}