toModel method

Donation toModel()

Constructs a new Donation from this DonationMixin.

Implementation

Donation toModel() =>
    Donation(id: id, amount: amount, operation: operation?.node.id);