PaymentMethodData.fromMap constructor

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

Implementation

factory PaymentMethodData.fromMap(Map<String, dynamic> map) {
  return PaymentMethodData(
    token: map['token'],
    displayNumber: map['display_number'],
    brand: map['brand'],
  );
}