WalletInfo.fromJson constructor

WalletInfo.fromJson(Map<String, dynamic> json)

Implementation

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