PaymentInfoModel.fromMap constructor

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

Implementation

factory PaymentInfoModel.fromMap(Map<String, dynamic> map) {
  return PaymentInfoModel(
    number: map['number'],
    verificationValue: map['verificationValue'],
    firstName: map['firstName'],
    lastName: map['lastName'],
    month: map['month'],
    year: map['year'],
  );
}