PaymentMethodCompleteModel.fromMap constructor

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

Implementation

factory PaymentMethodCompleteModel.fromMap(Map<String, dynamic> map) {
  return PaymentMethodCompleteModel(
    id: map['id'],
    description: map['description'],
    itemType: map['item_type'],
    data: PaymentMethodFullData.fromMap(map['data']),
  );
}