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