diff --git a/lib/src/serial_port_list.dart b/lib/src/serial_port_list.dart index a987c04..3c36197 100644 --- a/lib/src/serial_port_list.dart +++ b/lib/src/serial_port_list.dart @@ -7,7 +7,7 @@ import 'package:meta/meta.dart'; import 'package:path/path.dart' as path; @immutable -sealed class SerialPortList { +abstract class SerialPortList { factory SerialPortList() { if (Platform.isLinux) { return const SerialPortListLinux(); diff --git a/pubspec.yaml b/pubspec.yaml index a28252a..a65bf49 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: dart_serial description: Dart package that aims to provide a platform-independent serial port API. -version: 0.1.0-alpha.1 +version: 0.1.0-alpha.2 license: MIT repository: https://github.com/frickly-systems/dart_serial