fromMap static method

FixedAmountPayEntity fromMap(
  1. Map snap
)

Implementation

static FixedAmountPayEntity fromMap(Map snap) => FixedAmountPayEntity(
    description: snap['description'],
    executeInstantly: snap['executeInstantly'],
    paymentType: PayTypeModel.fromMap(snap['paymentType']),
    ccy: snap['ccy'],
    amount: double.tryParse(snap['amount'].toString()));