copyWith method

LocationPickerState copyWith({
  1. LocationEntity? locationEntity,
  2. String? reportMsg,
  3. bool? isLoading,
})

Implementation

LocationPickerState copyWith({
  LocationEntity? locationEntity,
  String? reportMsg,
  bool? isLoading,
}) => LocationPickerState(
  locationEntity: locationEntity ?? this.locationEntity,
  reportMsg: reportMsg ?? this.reportMsg,
  isLoading: isLoading ?? this.isLoading,
);