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,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        pathMatchPosition: json_.containsKey('pathMatchPosition')
            ? json_['pathMatchPosition'] as core.String
            : null,
      );