@override Future<int?> stopGenerate() async { // TODO: implement stopGenerate final code = await methodChannel.invokeMethod<int>("stopGenerate"); return code; }