ScannedQrCode class

Annotations
  • @freezed

Constructors

ScannedQrCode.new({int? id, int? qrCodeId, int? depotId, int? statusId, String? userId, DateTime? createdDate, DateTime? endedDate, Depot? depot, QrCode? qrCode, Status? status, Order? order, String? orderId, String? purchaseOrder, User? user, String? remarks, List<int>? tagList, List<ScannedQrCodeTag>? scannedQrCodeTag})
const
factory
ScannedQrCode.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $ScannedQrCodeCopyWith<ScannedQrCode>
Create a copy of ScannedQrCode with the given fields replaced by the non-null parameter values.
no setterinherited
createdDate DateTime?
no setterinherited
depot Depot?
no setterinherited
depotId int?
no setterinherited
endedDate DateTime?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int?
no setterinherited
order Order?
no setterinherited
orderId String?
no setterinherited
purchaseOrder String?
no setterinherited
qrCode QrCode?
no setterinherited
qrCodeId int?
no setterinherited
remarks String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scannedQrCodeTag List<ScannedQrCodeTag>?
no setterinherited
status Status?
no setterinherited
statusId int?
no setterinherited
tagList List<int>?
no setterinherited
user User?
no setterinherited
userId String?
no setterinherited

Methods

mapToRequest() Map<String, dynamic>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this ScannedQrCode to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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