toMap method

Map<String, dynamic> toMap()

Implementation

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