PlanRideState constructor

PlanRideState({
  1. bool? isLoading,
  2. List<GeoCodingResponse>? menuItemList,
  3. String? errorMessage,
  4. List<GeoCodingResponse>? placeList,
})

Implementation

PlanRideState({
  bool? isLoading,
  List<GeoCodingResponse>? menuItemList,
  String? errorMessage,
  List<GeoCodingResponse>? placeList,
})  : isLoading = isLoading ?? true,
      errorMessage = errorMessage ?? "",
      placeList = placeList ?? [];