PriceRulesState class

Annotations

Constructors

PriceRulesState({@Default(PriceRulesStatus.initial) PriceRulesStatus status, @Default(<PriceRuleEntity>[]) List<PriceRuleEntity> priceRules, PriceRuleEntity? selectedPriceRule, PriceRuleEntity? temporarySelectedPriceRule, PriceRuleEntity? defaultPriceRule, int? vendorId, String? error})
const
factory

Properties

copyWith → $PriceRulesStateCopyWith<PriceRulesState>
Create a copy of PriceRulesState with the given fields replaced by the non-null parameter values.
no setterinherited
defaultPriceRule PriceRuleEntity?
no setterinherited
error String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
priceRules List<PriceRuleEntity>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedPriceRule PriceRuleEntity?
no setterinherited
status PriceRulesStatus
no setterinherited
temporarySelectedPriceRule PriceRuleEntity?
no setterinherited
vendorId int?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited