ChargeCardResponseCustomer.fromJson constructor

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

Implementation

ChargeCardResponseCustomer.fromJson(Map<String, dynamic> json) {
  id = json['id'].toString();
  phoneNumber = json['phone_number'].toString();
  name = json['name'];
  email = json['email'];
  createdAt = json['created_at'];
}