EarlyPaymentDiscounts.fromMap constructor

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

Implementation

factory EarlyPaymentDiscounts.fromMap(Map<String, dynamic> map) {
  return EarlyPaymentDiscounts(
    days: map['days'],
    percent: map['percent'],
  );
}