toBytes method
Returns serialized command APDU.
Implementation
Uint8List toBytes() {
final lc = _getLc();
final le = _getLe();
return Uint8List.fromList(rawHeader() + [...lc, ...?_data, ...le]);
}
Returns serialized command APDU.
Uint8List toBytes() {
final lc = _getLc();
final le = _getLe();
return Uint8List.fromList(rawHeader() + [...lc, ...?_data, ...le]);
}