SitemapsListResponse.fromJson constructor

SitemapsListResponse.fromJson(
  1. Map json_
)

Implementation

SitemapsListResponse.fromJson(core.Map json_)
    : this(
        sitemap: json_.containsKey('sitemap')
            ? (json_['sitemap'] as core.List)
                .map((value) => WmxSitemap.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );