copyWith method

BootstrapWitness copyWith({
  1. Vkey? vkey,
  2. Ed25519Signature? signature,
  3. List<int>? chainCode,
  4. List<int>? attributes,
})

Implementation

BootstrapWitness copyWith({
  Vkey? vkey,
  Ed25519Signature? signature,
  List<int>? chainCode,
  List<int>? attributes,
}) {
  return BootstrapWitness(
    vkey: vkey ?? this.vkey,
    signature: signature ?? this.signature,
    chainCode: chainCode ?? this.chainCode,
    attributes: attributes ?? this.attributes,
  );
}