You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
621 B
Dart
18 lines
621 B
Dart
import '../../../core/status.dart';
|
|
import 'series_exporter.dart';
|
|
|
|
SeriesExporter getSeriesExporter() => _StubSeriesExporter();
|
|
|
|
class _StubSeriesExporter implements SeriesExporter {
|
|
@override
|
|
Future<String?> chooseSavePath({required bool asXlsx, ItemStatus? filter}) {
|
|
return Future.error(UnsupportedError('Export wird auf dieser Plattform nicht unterstützt.'));
|
|
}
|
|
|
|
@override
|
|
Future<String?> exportSeries(List<SeriesExportRow> rows,
|
|
{required bool asXlsx, ItemStatus? filter, String? path}) {
|
|
return Future.error(UnsupportedError('Export wird auf dieser Plattform nicht unterstützt.'));
|
|
}
|
|
}
|