copytWith method

CoinbaseData copytWith({
  1. String? address,
  2. String? chainName,
  3. int? chainId,
  4. ConnectionMetadata? self,
  5. ConnectionMetadata? peer,
})

Implementation

CoinbaseData copytWith({
  String? address,
  String? chainName,
  int? chainId,
  ConnectionMetadata? self,
  ConnectionMetadata? peer,
}) {
  return CoinbaseData(
    address: address ?? this.address,
    chainName: chainName ?? this.chainName,
    chainId: chainId ?? this.chainId,
    self: self ?? this.self,
    peer: peer ?? this.peer,
  );
}