PECard.fromJson constructor

PECard.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PECard.fromJson(Map<String, dynamic> json) {
  return PECard(
    token: json['token'],
    cardData: CardData.fromJson(json['card_data']),
  );
}