toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "wallet_id": walletId,
  "type": type,
  "d": d?.toJson() ?? {},
  "wallet_type": walletType
};