<commit_before>import 'package:comiko/widgets/event_card.dart';
import 'package:comiko_backend/services.dart';
import 'package:comiko_shared/models.dart';

class AppState {
  static const String defaultCityFilter = "";
  static const double defaultPriceFilter = 100.0;
  static const int defaultDistanceFilter = 500;

  List<Event> events;
  Map<Event, bool> eventsFavoriteState = {};
  SortingCriteria sortingCriteria;
  String cityFilter;
  double priceFilter;
  int distanceFilter;
  EventService eventsService = ServiceProvider.get<EventService>(EventService);
  bool imagesCaching;

  AppState.initial() {
    sortingCriteria = SortingCriteria.date;
    events = [];
    eventsFavoriteState = {};
    cityFilter = defaultCityFilter;
    priceFilter = defaultPriceFilter;
    distanceFilter = defaultDistanceFilter;
  }<commit_msg>Removed unused field dartfmt<commit_after>import 'package:comiko/widgets/event_card.dart';
import 'package:comiko_backend/services.dart';
import 'package:comiko_shared/models.dart';

class AppState {
  static const String defaultCityFilter = "";
  static const double defaultPriceFilter = 100.0;
  static const int defaultDistanceFilter = 500;

  List<Event> events;
  Map<Event, bool> eventsFavoriteState = {};
  SortingCriteria sortingCriteria;
  String cityFilter;
  double priceFilter;
  int distanceFilter;
  EventService eventsService = ServiceProvider.get<EventService>(EventService);

  AppState.initial() {
    sortingCriteria = SortingCriteria.date;
    events = [];
    eventsFavoriteState = {};
    cityFilter = defaultCityFilter;
    priceFilter = defaultPriceFilter;
    distanceFilter = defaultDistanceFilter;
  }
{'fraction_non_alphanumeric': 0.09079975947083584, 'fraction_numerical': 0.00841852074564041, 'mean_word_length': 5.303030303030303, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5856559', 'n_tokens_mistral': 480, 'n_tokens_neox': 457, 'n_words': 103}