PathQueryOptions.fromJson constructor

PathQueryOptions.fromJson(
  1. Map json_
)

Implementation

PathQueryOptions.fromJson(core.Map json_)
    : this(
        channelGrouping: json_.containsKey('channelGrouping')
            ? ChannelGrouping.fromJson(json_['channelGrouping']
                as core.Map<core.String, core.dynamic>)
            : null,
        pathFilters: json_.containsKey('pathFilters')
            ? (json_['pathFilters'] as core.List)
                .map((value) => PathFilter.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );