Address.fromJson constructor

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

Implementation

factory Address.fromJson(Map<String, dynamic> json) {
  return Address(
    zipCode: json['zipCode'],
    country: json['country'],
    state: json['state'],
    stateName: json['stateName'],
    city: json['city'],
    neighborhood: json['neighborhood'],
    address: json['address'],
    number: json['number'],
    complement: json['complement'],
    isOptIn: json['isOptIn'],
    latitude: json['latitude'],
    longitude: json['longitude'],
  );
}