CalibreWeebi<A extends ArticleRawAbstract> class
if (isBasket){ articles.length ==1 } !
- Inheritance
-
- Object
- CalibreContainerAbstract
- CalibreAbstract<
A> - CalibreWeebi
Constructors
-
CalibreWeebi.new({required int id, required String title, required List<
A> articles, required ArticleKind kind, StockUnit stockUnit = StockUnit.unit, required DateTime creationDate, DateTime? updateDate, bool status = true, DateTime? statusUpdateDate}) -
CalibreWeebi.copy(CalibreWeebi<
A> other) -
factory
- CalibreWeebi.fromJson(String source, {required bool isProto})
-
factory
-
CalibreWeebi.fromMap(Map<
String, dynamic> map, {required bool isProto}) -
factory
Properties
-
articles
→ List<
A> -
finalinherited
- creationDate → DateTime
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- hasSingleArticle → bool
-
no setterinherited
- id → int
-
finalinherited
- isBasket ↔ bool
-
getter/setter pair
- isCountable → bool
-
no setter
- isSingleArticle → bool
-
no setter
- isUncountable → bool
-
no setter
- kind → ArticleKind
-
finalinherited
- nameLine → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
no setter
- status → bool
-
finalinherited
- statusUpdateDate → DateTime?
-
finalinherited
- stockUnit → StockUnit
-
finalinherited
- title → String
-
finalinherited
- titleHash → int
-
no setter
- updateDate → DateTime?
-
finalinherited
Methods
-
copyWith(
{int? id, String? title, StockUnit? stockUnit, ArticleKind? kind, String? photo, bool? status, DateTime? statusUpdateDate, List< A> ? articles, DateTime? creationDate, DateTime? updateDate, List<String> ? categories}) → CalibreWeebi<A> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{required bool isProto}) → String -
override
-
toMap(
{required bool isProto}) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Properties
-
dummyBasket
→ CalibreWeebi<
ArticleBasket> -
final
-
dummyRetail
→ CalibreWeebi<
ArticleRetail> -
final
-
dummyRetailDecimal
→ CalibreWeebi<
ArticleRetail> -
final
-
empty
→ CalibreWeebi<
ArticleRetail> -
final
-
jams
→ List<
CalibreWeebi< ArticleRetail> > -
final
-
jamsPhoto
→ List<
ArticlePhoto> -
final
Static Methods
-
fromMapArticleBasket(
Map< String, dynamic> map) → CalibreWeebi<ArticleBasket> -
fromMapArticleRetail(
Map< String, dynamic> map) → CalibreWeebi<ArticleRetail> -
fromMapArticleUncountable(
Map< String, dynamic> map) → CalibreWeebi<ArticleUncountable>