Place.fromJSON constructor

Place.fromJSON(
  1. Map<String, dynamic> data
)

Implementation

factory Place.fromJSON(Map<String, dynamic> data) {
	return Place(
		(data["id"] as String),
		rev: (data["rev"] as String?),
		deletionDate: (data["deletionDate"] as int?),
		name: (data["name"] as String?),
		address: data["address"] == null ? null : DecryptedAddress.fromJSON(data["address"]),
	);
}