fromJson method

  1. @override
DestinationFilters fromJson(
  1. Map<String, dynamic> json
)
override

Implementation

@override
DestinationFilters fromJson(Map<String, dynamic> json) {
  DestinationFilters filters = {};
  json.forEach((key, value) {
    filters[key] = RoutingRule.fromJson(value);
  });
  return filters;
}