testing library
A Belgian eID in memory, to test an application without a card reader.
import 'package:eid_belgium/eid_belgium.dart';
import 'package:eid_belgium/testing.dart';
final eid = await BelgianEidReader(SimulatedBelgianCard()).read();
Classes
- SimulatedBelgianCard
- A Belgian eID in memory that answers the commands of a real card, to test without a card reader. Pass it wherever a CardTransport goes:
Properties
- specimenPhoto → Uint8List
-
The photo of the simulated card: a 200 by 260 JPEG of a person who does
not exist.
final