@override Future<int> open(String prt) async { return await methodChannel.invokeMethod<int>('open', {'prt': prt}) ?? -1; }