// You have generated a new plugin project without specifying the `--platforms` // flag. A plugin project with no platform support was generated. To add a // platform, run `flutter create -t plugin --platforms .` under the // same directory. You can also find a detailed instruction on how to add // platforms in the `pubspec.yaml` at // https://flutter.dev/docs/development/packages-and-plugins/developing-packages#plugin-platforms. import 'cim_socket.dart'; class CimFlutterSdk { final CIMSocket cimSocket = CIMSocket(); Future connect(String uri, int port, int uid) async { cimSocket.init(uri, port, uid); cimSocket.connect(); return cimSocket; } Future disconnect() async { cimSocket.disConnect(); } }