copyWith method
Implementation
JsonRpcRecord copyWith({
int? id,
String? topic,
Map<String, dynamic>? request,
String? chainId,
Map<String, dynamic>? response,
}) {
return JsonRpcRecord(
id: id ?? this.id,
topic: topic ?? this.topic,
request: request ?? this.request,
chainId: chainId ?? this.chainId,
response: response ?? this.response,
);
}