UAddressCreateParams.fromMap constructor
UAddressCreateParams.fromMap(
- Map<String, dynamic> json
)
Implementation
factory UAddressCreateParams.fromMap(Map<String, dynamic> json) => UAddressCreateParams(
tags: List<int>.from(json["tags"]!.map((dynamic x) => x)),
id: json["id"],
title: json["title"],
description: json["description"],
detail1: json["detail1"],
detail2: json["detail2"],
province: json["province"],
township: json["township"],
street: json["street"],
street2: json["street2"],
localityName: json["localityName"],
houseNumber: json["houseNumber"],
floor: json["floor"],
zipCode: json["zipCode"],
creatorId: json["creatorId"],
buildingName: json["buildingName"],
localityType: json["localityType"],
sideFloor: json["sideFloor"],
subLocality: json["subLocality"],
village: json["village"],
adminUserIds: json["adminUserIds"] == null ? <String>[] : List<String>.from(json["adminUserIds"]!.map((dynamic x) => x)),
);