copyWith method

SignaturePubkeyPair copyWith({
  1. Uint8List? signature,
  2. Pubkey? pubkey,
})

Creates a copy of this class applying the provided parameters to the new instance.

Implementation

SignaturePubkeyPair copyWith({
  final Uint8List? signature,
  final Pubkey? pubkey,
}) =>
    SignaturePubkeyPair(
      signature: signature ?? this.signature,
      pubkey: pubkey ?? this.pubkey,
    );