AddressDto.fromJson constructor

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

Implementation

factory AddressDto.fromJson(Map<String, dynamic> json) {
  return AddressDto(
    country: json["country"] as String?,
    zip: json["zip"] as String?,
    city: json["city"] as String?,
    street: json["street"] as String?,
    number: json["number"] as String?,
  );
}