ResWalletList.fromJson constructor

ResWalletList.fromJson(
  1. Map<String, dynamic> json
)

Implementation

ResWalletList.fromJson(Map<String, dynamic> json) {
  if(json["biometric"] != null) biometric = WalletBiometric.fromJson(json["biometric"]);
  if(json["wallets"] != null) wallets = json["wallets"].map((e) => WalletData.fromJson(e)).toList().cast<WalletData>();
}