copytWith method

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

Implementation

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