fromMap static method

GeoAnalyticsListResponse fromMap(
  1. Map<String, dynamic> map
)

Implementation

static GeoAnalyticsListResponse fromMap(Map<String, dynamic> map) {
  GeoAnalyticsListResponse response = GeoAnalyticsListResponse();
  response.responseCode = map['responseCode'] as int?;
  response.version = map['version'] as String?;
  response.totalFeatureCount = map['total_feature_count'] as int?;
  if (map.containsKey('results')) {
    response.results = GeoAnalyticsListResult.fromMap(map['results']);
  }
  return response;
}