import 'actions.dart'; bool loadedReducer(bool isLoaded, dynamic action) { if (action is FetchYourLocationsSucceededAction) { return true; } return isLoaded; }