toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'address': address,
      'received_sum': receivedSum.map((asset) => asset.toJson()).toList(),
      'sent_sum': sentSum.map((asset) => asset.toJson()).toList(),
      'tx_count': txCount,
    };