OfflineScanInput class abstract

One queued offline scan submitted to the server for authoritative processing.

Implemented types

Constructors

OfflineScanInput({required String localId, required String deviceId, String? deviceFingerprint, UuidValue? identityId, required String qrToken, required DateTime scannedAt, double? latitude, double? longitude, String? country, String? city, String? provisionalOutcome})
factory
OfflineScanInput.fromJson(Map<String, dynamic> jsonSerialization)
factory

Properties

city ↔ String?
getter/setter pair
country ↔ String?
getter/setter pair
deviceFingerprint ↔ String?
getter/setter pair
deviceId ↔ String
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
identityId ↔ UuidValue?
getter/setter pair
latitude ↔ double?
getter/setter pair
localId ↔ String
Client generated local identifier used to correlate the verdict.
getter/setter pair
longitude ↔ double?
getter/setter pair
provisionalOutcome ↔ String?
getter/setter pair
qrToken ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scannedAt ↔ DateTime
getter/setter pair

Methods

copyWith({String? localId, String? deviceId, String? deviceFingerprint, UuidValue? identityId, String? qrToken, DateTime? scannedAt, double? latitude, double? longitude, String? country, String? city, String? provisionalOutcome}) → OfflineScanInput
Returns a shallow copy of this OfflineScanInput with some or all fields replaced by the given arguments.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Returns a serialized JSON structure of the model which also includes fields used by the database.
override
toJsonForProtocol() → Map<String, dynamic>
Returns a JSON structure of the model, optimized for Protocol communication.
override
toString() → String
A string representation of this object.
override

Operators

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