Wallet.fromJson constructor
Implementation
factory Wallet.fromJson(Map<String, dynamic> json) {
return Wallet(
id: json['id'],
walletInfo: WalletInfo(
label: json['wallet']['label'],
currency: json['wallet']['currency'],
type: WalletType.parse(json['wallet']['type']),
),
);
}