PaymentMethodFullData.fromMap constructor

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

Implementation

factory PaymentMethodFullData.fromMap(Map<String, dynamic> map) {
  return PaymentMethodFullData(
    brand: map['brand'],
    holderName: map['holder_name'],
    displayNumber: map['display_number'],
    bin: map['bin'],
    year: map['year'],
    month: map['month'],
    lastDigits: map['last_digits'],
    firstDigits: map['first_digits'],
    maskedNumber: map['masked_number'],
  );
}