Customer.fromJson constructor

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

Implementation

factory Customer.fromJson(Map<String, dynamic> json) {
  return Customer(
    ephemeralKeySecret: json['ephemeralKey'],
    id: json['customerId'],
  );
}