$CollectionStateCopyWith extension
Properties
- copyWith → _$CollectionStateCWProxy
-
Available on CollectionState, provided by the $CollectionStateCopyWith extension
Returns a callable class that can be used as follows:instanceOfCollectionState.copyWith(...)or like so:instanceOfCollectionState.copyWith.fieldName(...).no setter
Methods
-
copyWithNull(
{bool query = false, bool globalSearchQuery = false, bool sort = false}) → CollectionState -
Available on CollectionState, provided by the $CollectionStateCopyWith extension
Copies the object with the specific fields set tonull. If you passfalseas a parameter, nothing will be done and it will be ignored. Don't do it. PrefercopyWith(field: null)orCollectionState(...).copyWith.fieldName(...)to override fields one at a time with nullification support.