import 'package:test/test.dart'; import 'package:holzleitner_api/holzleitner_api.dart'; // tests for ScanResult void main() { final instance = ScanResultBuilder(); // TODO add properties to the builder and call build() group(ScanResult, () { // String clientScanId test('to test the property `clientScanId`', () async { // TODO }); // Aktueller `scan_state` der Position nach der Verarbeitung — genau dann gesetzt, wenn der Server den Stand kennen konnte (`Applied` oder `Duplicate`). Erlaubt der App, die UI ohne Re-Fetch zu aktualisieren. // String deliveryItemId test('to test the property `deliveryItemId`', () async { // TODO }); // ScanState newScanState test('to test the property `newScanState`', () async { // TODO }); // Bei `Rejected`: Begründung. Bei `Applied`/`Duplicate`: `None`. // String reason test('to test the property `reason`', () async { // TODO }); // ScanResultStatus status test('to test the property `status`', () async { // TODO }); }); }