download method

  1. @override
Future<List<Dive>> download(
  1. Computer computer,
  2. ComputerTransport transport, [
  3. String? lastFingerprint
])
override

Implementation

@override
Future<List<Dive>> download(
  Computer computer,
  ComputerTransport transport, [
  String? lastFingerprint,
]) async {
  await _send((
    DiveComputerMethod.download,
    [computer, transport, lastFingerprint],
  ));
  return (_downloadedDives = Completer()).future;
}