fromMap static method
Implementation
static MapmyIndiaGeoAnalyticsDetail fromMap(Map<dynamic, dynamic> map) {
MapmyIndiaGeoAnalyticsDetail geoAnalyticsDetail =
MapmyIndiaGeoAnalyticsDetail();
if (map.containsKey('properties')) {
geoAnalyticsDetail.properties =
(map['properties'] as dynamic) as Map<dynamic, dynamic>;
}
if (map.containsKey('type')) {
geoAnalyticsDetail.type =
MapmyIndiaGeoAnalyticsType.values[map['type'] as int];
}
if (map.containsKey('id')) {
geoAnalyticsDetail.id = map['id'] as String?;
}
return geoAnalyticsDetail;
}