copy method
BipLitecoinConf
copy({
- CoinNames? coinNames,
- int? coinIdx,
- ChainType? chainType,
- String? defPath,
- Bip32KeyNetVersions? keyNetVer,
- Bip32KeyNetVersions? altKeyNetVer,
- List<
int> ? wifNetVer, - EllipticCurveTypes? type,
- ADDRENCODER<
BipLitecoinConf> ? addressEncoder, - bool? useAltKeyNetVer,
- bool? useDeprAddress,
- Bip32KeyIndex? purpose,
override
Creates a copy of the BipLitecoinConf object with optional properties updated.
Implementation
@override
/// Creates a copy of the BipLitecoinConf object with optional properties updated.
BipLitecoinConf copy({
CoinNames? coinNames,
int? coinIdx,
ChainType? chainType,
String? defPath,
Bip32KeyNetVersions? keyNetVer,
Bip32KeyNetVersions? altKeyNetVer,
List<int>? wifNetVer,
EllipticCurveTypes? type,
ADDRENCODER<BipLitecoinConf>? addressEncoder,
bool? useAltKeyNetVer,
bool? useDeprAddress,
Bip32KeyIndex? purpose,
}) {
return BipLitecoinConf(
coinNames: coinNames ?? this.coinNames,
coinIdx: coinIdx ?? this.coinIdx,
chainType: chainType ?? this.chainType,
defPath: defPath ?? this.defPath,
keyNetVer: keyNetVer ?? this.keyNetVer,
wifNetVer: wifNetVer ?? this.wifNetVer,
type: type ?? this.type,
addressEncoder: addressEncoder ?? this.addressEncoder,
altKeyNetVer: altKeyNetVer ?? this.altKeyNetVer,
useAltKeyNetVer: useAltKeyNetVer ?? this.useAltKeyNetVer,
useDeprAddress: useDeprAddress ?? this.useDeprAddress,
purpose: purpose ?? this.purpose,
);
}