copy method
BipLitecoinConf
copy({
- CoinNames? coinNames,
- int? coinIdx,
- bool? isTestnet,
- String? defPath,
- Bip32KeyNetVersions? keyNetVer,
- Bip32KeyNetVersions? altKeyNetVer,
- List<
int> ? wifNetVer, - Map<
String, dynamic> ? addrParams, - EllipticCurveTypes? type,
- AddrEncoder? addressEncoder,
- bool? useAltKeyNetVer,
- bool? useDeprAddress,
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,
bool? isTestnet,
String? defPath,
Bip32KeyNetVersions? keyNetVer,
Bip32KeyNetVersions? altKeyNetVer,
List<int>? wifNetVer,
Map<String, dynamic>? addrParams,
EllipticCurveTypes? type,
AddrEncoder? addressEncoder,
bool? useAltKeyNetVer,
bool? useDeprAddress,
}) {
return BipLitecoinConf(
coinNames: coinNames ?? this.coinNames,
coinIdx: coinIdx ?? this.coinIdx,
isTestnet: isTestnet ?? this.isTestnet,
defPath: defPath ?? this.defPath,
keyNetVer: keyNetVer ?? this.keyNetVer,
wifNetVer: wifNetVer ?? this.wifNetVer,
addrParams: addrParams ?? this.addrParams,
type: type ?? this.type,
addressEncoder: addressEncoder ?? this.addressEncoder,
altKeyNetVer: altKeyNetVer ?? this.altKeyNetVer,
useAltKeyNetVer: useAltKeyNetVer ?? this.useAltKeyNetVer,
useDeprAddress: useDeprAddress ?? this.useDeprAddress);
}