PlaceState constructor

const PlaceState({
  1. bool isShow = false,
  2. String queryString = '',
  3. List<Place> places = const [],
  4. StatusFetchData status = StatusFetchData.initial,
  5. String? error,
})

Creates a PlaceState instance with the specified initial values.

Implementation

const PlaceState({
  this.isShow = false,
  this.queryString = '',
  this.places = const [],
  this.status = StatusFetchData.initial,
  this.error,
});