toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'amount_cents': amountInCents,
    'amount_localized': amountLocalized,
    'created_at': createdAt.millisecondsSinceEpoch,
    'id': transferId,
    'sender': sender.toMap(),
  };
}