FilterEntry.fromJson constructor

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

Implementation

factory FilterEntry.fromJson(Map<String, dynamic> json) {
  return FilterEntry(
    exclude: json.containsKey('exclude') ? json['exclude'] as bool : null,
    type: json.containsKey('type') ? json['type'] as String : null,
  );
}