copyWith method

Seed copyWith({
  1. String? ip,
  2. int? port,
  3. String? address,
})

Implementation

Seed copyWith({
  String? ip,
  int? port,
  String? address,
}) {
  return Seed(
    ip: ip ?? this.ip,
    port: port ?? this.port,
    address: address ?? this.address,
  );
}