copyWith method

ElectrumOutput copyWith({
  1. bool? belongsToUs,
  2. bool? spent,
  3. dynamic node,
})

Implementation

ElectrumOutput copyWith({
  bool? belongsToUs,
  bool? spent,
  NodeWithAddress? node,
}) {
  return ElectrumOutput(
    scriptPubKey: scriptPubKey,
    value: value,
    n: n,
    spent: spent ?? this.spent,
    belongsToUs: belongsToUs ?? this.belongsToUs,
    node: node ?? this.node,
  );
}