ArticleRetail class

Inheritance
Implemented types

Constructors

ArticleRetail({required int calibreId, required int id, required String designation, required num price, ArticleKind kind = ArticleKind.retail, num cost = 0, int? articleCode, required DateTime creationDate, DateTime? updateDate, DateTime? statusUpdateDate, @observable bool status = true, double unitsInOnePiece = 1, String barcodeEAN = ''})
ArticleRetail.fromJson(String source)
factory
ArticleRetail.fromMap(Map<String, dynamic> map)
factory

Properties

articleCode int?
final
barcodeEAN String
getter/setter pair
calibreId int
finalinherited
codeShortcut int
no setter
cost num
finalinherited
costClean num
no setterinherited
creationDate DateTime
final
designation String
finalinherited
hashCode int
The hash code for this object.
no setteroverride
id int
finalinherited
kind ArticleKind
finalinherited
lightOnTicket ArticleRetailOnTicket
no setter
price num
finalinherited
priceClean num
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status bool
finalinherited
statusUpdateDate DateTime?
final
unitsInOnePiece double
finalinherited
updateDate DateTime?
final

Methods

copyWith({int? calibreId, int? id, String? designation, num? price, num? cost, double? unitsInOnePiece, int? articleCode, String? barcodeEAN, DateTime? creationDate, DateTime? updateDate, DateTime? statusUpdateDate, bool? status}) ArticleRetail
nameWithoutArtCalibrePart(String calibreTitle) String
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
override
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object.
override

Operators

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

Static Properties

dummy ArticleRetail
final
dummyDecimal ArticleRetail
final