copyWith method
Implementation
PingData copyWith({
PingResponse? response,
PingSummary? summary,
PingError? error,
}) {
return PingData(
response: response ?? this.response,
summary: summary ?? this.summary,
error: error ?? this.error,
);
}