PathFilter.fromJson constructor

PathFilter.fromJson(
  1. Map json_
)

Implementation

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