ExtendedPrivateKey.fromJson constructor
Creates an ExtendedPrivateKey instance from a JSON map.
Implementation
factory ExtendedPrivateKey.fromJson(Map<String, dynamic> json) {
return ExtendedPrivateKey(
p2pkh: json['P2PKH'],
p2sh: json['P2SH'],
p2wpkh: json['P2WPKH'],
p2wpkhInP2sh: json['P2WPKH_IN_P2SH'],
p2wsh: json['P2WSH'],
p2wshInP2sh: json['P2WSH_IN_P2SH'],
);
}