LegacyFilter.fromJson constructor

LegacyFilter.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory LegacyFilter.fromJson(Map<String, dynamic> json) => LegacyFilter(
      filterType:
          json.containsKey("filterType") ? (json["filterType"] as int) : 0,
    );