disconnect method

  1. @override
Future<void> disconnect(
  1. String reader
)
override

Implementation

@override
Future<void> disconnect(String reader) async {
  final card = readerCardMap.remove(reader);
  if (card != null) {
    await card
        .disconnect(Disposition.resetCard)
        .then((_) => context.release());
  }
  return Future.value();
}