PaymentLinksResourceTransferData.fromJson constructor
PaymentLinksResourceTransferData.fromJson(
- Object? json
Implementation
factory PaymentLinksResourceTransferData.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentLinksResourceTransferData(
amount: map['amount'] == null ? null : (map['amount'] as num).toInt(),
destination: AccountOrId.fromJson(map['destination']),
);
}