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