#ifndef FLUTTER_PLUGIN_{{pluginClassCapitalSnakeCase}}_H_ #define FLUTTER_PLUGIN_{{pluginClassCapitalSnakeCase}}_H_ #include #include #include namespace {{projectName}} { class {{pluginClass}} : public flutter::Plugin { public: static void RegisterWithRegistrar(flutter::PluginRegistrarWindows *registrar); {{pluginClass}}(); virtual ~{{pluginClass}}(); // Disallow copy and assign. {{pluginClass}}(const {{pluginClass}}&) = delete; {{pluginClass}}& operator=(const {{pluginClass}}&) = delete; // Called when a method is called on this plugin's channel from Dart. void HandleMethodCall( const flutter::MethodCall &method_call, std::unique_ptr> result); }; } // namespace {{projectName}} #endif // FLUTTER_PLUGIN_{{pluginClassCapitalSnakeCase}}_H_