TransferSentInfo.fromMap constructor

TransferSentInfo.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory TransferSentInfo.fromMap(Map<String, dynamic> map) {
  return TransferSentInfo(
    amountInCents: map['amount_cents'],
    amountLocalized: map['amount_localized'],
    createdAt: DateTime.fromMillisecondsSinceEpoch(map['created_at']),
    transferId: map['id'],
    receiver: AccountInfo.fromMap(map['receiver']),
  );
}