Map<String, dynamic> toMap() { return { 'sent': transfersSent.map((x) => x.toMap()).toList(), 'received': transfersReceived.map((x) => x.toMap()).toList(), }; }