$CollectionStateCopyWith extension
Properties
-
copyWith
→ _$CollectionStateCWProxy
-
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
-
Copies the object with the specific fields set to
null
. If you pass false
as a parameter, nothing will be done and it will be ignored. Don't do it. Prefer copyWith(field: null)
or CollectionState(...).copyWith.fieldName(...)
to override fields one at a time with nullification support.