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