copyWith method
Implementation
PingSummary copyWith({
int? transmitted,
int? received,
Duration? time,
List<PingError>? errors,
}) {
return PingSummary(
transmitted: transmitted ?? this.transmitted,
received: received ?? this.received,
time: time ?? this.time,
errors: errors ?? this.errors,
);
}