ObjectCubitUpdating<Value, ExtraData> class

Inheritance

Constructors

ObjectCubitUpdating({bool? hasValue, Value? value, ExtraData? extraData, required Value? oldValue})

Properties

extraData → ExtraData?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
hasValue bool?
If the current state contains the value it returns true otherwise false When the state is not ObjectCubitUpdated the value will be null
finalinherited
oldValue → Value?
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
value → Value?
Represents the current state value
finalinherited

Methods

copyWith({Optional<ExtraData?> extraData = const Optional()}) ObjectCubitState<Value, ExtraData>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toUpdated({required bool hasValue, required Value? value}) ObjectCubitState<Value, ExtraData>
inherited
toUpdateFailed({required Object? failure}) ObjectCubitState<Value, ExtraData>
inherited
toUpdating() ObjectCubitState<Value, ExtraData>
inherited

Operators

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