2023-12-02 09:42:00 +00:00
|
|
|
class WiExtended {
|
|
|
|
final String seed;
|
|
|
|
final String spendPrivateKey;
|
|
|
|
final String spendPublicKey;
|
|
|
|
final String viewPrivateKey;
|
|
|
|
final String viewPublicKey;
|
|
|
|
|
|
|
|
WiExtended({required this.seed, required this.spendPrivateKey, required this.spendPublicKey, required this.viewPrivateKey, required this.viewPublicKey});
|
|
|
|
|
|
|
|
factory WiExtended.fromJson(Map<String, dynamic> json) => WiExtended(
|
2024-03-08 10:50:34 +00:00
|
|
|
seed: json["seed"] as String? ?? '',
|
|
|
|
spendPrivateKey: json["spend_private_key"] as String? ?? '',
|
|
|
|
spendPublicKey: json["spend_public_key"] as String? ?? '',
|
|
|
|
viewPrivateKey: json["view_private_key"] as String? ?? '',
|
|
|
|
viewPublicKey: json["view_public_key"] as String? ?? '',
|
2023-12-02 09:42:00 +00:00
|
|
|
);
|
|
|
|
}
|