copyWith method

Nip05 copyWith({
  1. String? pubKey,
  2. String? nip05,
  3. bool? valid,
  4. int? networkFetchTime,
  5. List<String>? relays,
})

Implementation

Nip05 copyWith({
  String? pubKey,
  String? nip05,
  bool? valid,
  int? networkFetchTime,
  List<String>? relays,
}) {
  return Nip05(
    pubKey: pubKey ?? this.pubKey,
    nip05: nip05 ?? this.nip05,
    valid: valid ?? this.valid,
    networkFetchTime: networkFetchTime ?? this.networkFetchTime,
    relays: relays ?? this.relays,
  );
}