stockBuffer property
! do not read value using stockBufferarticle
types will not match in ==operator of ArticleRawAbstract
- instead use stockBuffer.stock(article) extension
- consider creating an two ints Object(calibreId, id) that can be used instead of ArticleRawAbstract
Implementation
@override
ObservableMap<ArticleRawAbstract, double> get stockBuffer {
_$stockBufferAtom.reportRead();
return super.stockBuffer;
}
! do not read value using stockBufferarticle
types will not match in ==operator of ArticleRawAbstract
- instead use stockBuffer.stock(article) extension
- consider creating an two ints Object(calibreId, id) that can be used instead of ArticleRawAbstract
Implementation
@override
set stockBuffer(ObservableMap<ArticleRawAbstract, double> value) {
_$stockBufferAtom.reportWrite(value, super.stockBuffer, () {
super.stockBuffer = value;
});
}