QrCode class

Annotations
  • @freezed

Constructors

QrCode({String? chassisNumber, String? engineNumber, String? model, String? manufacturingDate, String? color, String? batchNumber, String? brand, String? controlNumber, int? year, int? id, String? signature, String? identifier})
const
factory
QrCode.fromJson(Map<String, dynamic> json)
factory
QrCode.fromScannedItem(String scannedQrCode)
factory

Properties

batchNumber String?
no setterinherited
brand String?
no setterinherited
chassisNumber String?
no setterinherited
color String?
no setterinherited
controlNumber String?
no setterinherited
copyWith → $QrCodeCopyWith<QrCode>
Create a copy of QrCode with the given fields replaced by the non-null parameter values.
no setterinherited
engineNumber String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int?
no setterinherited
identifier String?
no setterinherited
manufacturingDate String?
no setterinherited
model String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature String?
no setterinherited
year int?
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 QrCode to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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