fromEntity static method

ContextAmountPayModel fromEntity(
  1. ContextAmountPayEntity entity
)
override

Implementation

static ContextAmountPayModel fromEntity(ContextAmountPayEntity entity) =>
    ContextAmountPayModel(
        identifier: entity.identifier,
        description: entity.description,
        executeInstantly: entity.executeInstantly,
        paymentType: PayTypeModel.fromEntity(entity.paymentType));