Filter.fromJson constructor

Filter.fromJson(
  1. Map json_
)

Implementation

Filter.fromJson(core.Map json_)
    : this(
        action: json_.containsKey('action')
            ? FilterAction.fromJson(
                json_['action'] as core.Map<core.String, core.dynamic>)
            : null,
        criteria: json_.containsKey('criteria')
            ? FilterCriteria.fromJson(
                json_['criteria'] as core.Map<core.String, core.dynamic>)
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
      );