Iso7816Chaining constructor
Iso7816Chaining(
- Future<
Iso7816ResponseApdu> send(- Uint8List command
- int maxContinuations = 32,
Wraps send, the "one command in, one response out" call for a card in the field.
maxContinuations bounds how many extra round trips one call may cost. The default
carries about 8 KB at the 256 bytes a short Le can ask for, which covers ordinary file
reads; raise it for a card that really does return more, and leave it low enough that a
card answering 61xx forever -- a broken applet, or a field that dropped mid-exchange
-- fails instead of hanging the session until it times out.
Implementation
Iso7816Chaining(this.send, {this.maxContinuations = 32}) {
if (maxContinuations < 1) {
throw ArgumentError.value(maxContinuations, 'maxContinuations', 'must be at least one');
}
}