Shopper.fromJson constructor

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

Implementation

factory Shopper.fromJson(Map<String, dynamic> json) => Shopper(
      billingAddress: json["billing_address"],
      birthDate: json["birth_date"],
      cpf: json["cpf"],
      email: json["email"],
      firstName: json["first_name"],
      lastName: json["last_name"],
      phone: json["phone"],
    );